aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ch1/1-02_escape-sequences.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ch1/1-02_escape-sequences.c b/ch1/1-02_escape-sequences.c
index 8d122e0..bf9e8ca 100644
--- a/ch1/1-02_escape-sequences.c
+++ b/ch1/1-02_escape-sequences.c
@@ -10,6 +10,9 @@
*/
int main(void) {
- printf("Hello world! \d\n");
+ /* Uncomment the next line for an invalid escape character! */
+ /*printf("Hello world! \d\n");*/
+ /* Compare with a valid one: */
+ printf("Hello world! \t\n");
return 0;
}