Solution for Exercise 4-7
ex0407
#include <stdio.h> int main() { // puts("The secret password is:"); puts("Spatula."); return(0); }
Notes
* As with Exercise ex0405, place the //
characters at the start of the line. That location improves readability.
* In my own code, I use the /*
and */
characters for comments, but I use the //
thing to "comment out" lines of code. I'm very consistent with it, so when I see //
at the start of a line, I know that the line has been commented out.
Copyright © 1997-2024 by QPBC.
All rights reserved