Choice 1 looks best.
There is still more work to be done.
We could just output /* BAD */
with printf()
,
but to illustrate nesting of structures within structures, let us use putchar()
.
Assume that /* BAD */
is a string literal in the program.
Outputting /* BAD */
is again is a case of the universal flowchart.
The flowchart at right shows this.
It looks a lot like the first problem in this chapter.
Are all the pieces of the flowchart going to fit together?