Solution for Exercise 7-8
ex0708
#include <stdio.h> int main() { char a,b,c,d; a = 'W'; b = 'o'; c = 'w'; d = '\n'; printf("%c%c%c%c",a,b,c,d); return(0); }
Notes
* Obviously, successful completion of this exercise depends upon running Exercise 7-7 to see what the output is. In the solution (above), you have to know which constants to assign variables b
and c
.
Copyright © 1997-2024 by QPBC.
All rights reserved