Solution for Exercise 19-13
ex1913
#include <stdio.h>
int main()
{
char sample[] = "From whence cometh my help?\n";
char *ps = sample;
while(*ps)
putchar(*ps++);
return(0);
}
Notes
* As I wrote in the Notes for Exercise 19-12, I've combined the two while loop statements from Listing 19-6. Because of that, I've eliminated the curly brackets.
Copyright © 1997-2025 by QPBC.
All rights reserved
