Chapter 11
The initialization should include a '/0'. Also, pre-ANSI implementations don't allow you to initialize automatic arrays.
See you at the snack bar. ee you at the snack bar. See you e you
y my mmy ummy Yummy
I read part of it all the way through.
Ho Ho Ho!!oH oH oH
pointer-to-char, that is, char *.
The address of the initial H.
*--pc means to decrement the pointer by 1 and use the value found there. --*pc means to take the value pointed to by pc and decrement that value by 1 (for example, H becomes G).
Ho Ho Ho!!oH oH o
Note
A null character comes between ! and !, but it produces no printing effect.
while(*pc). Check to see that pc does not point to a null character (that is, to the end of the string). The expression uses the value at the ...
Get C Primer Plus®, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.