5. TURBO-C CODE STRUCTURE COMMENTS PREPROCESSOR DIRECTIVE BEGIN BLOCK OF main( ) FUNCTION END BLOCK OF main( ) FUNCTION VARIABLE DECLARATION FUNCTION NAME BODY OF THE PROGRAM Hello Arvin _ _ Hello SUPERMAN _
6. SCREEN OUTPUT FUNCTION printf( ); – is used to write information on the screen printf( <format string> ); <format string> is a string that begins and ends with double quotes “” printf(“ARVIN santos BUENDIA”); ARVIN santos BUENDIA _ _
7. SCREEN OUTPUT FUNCTION An ESCAPE SEQUENCE that starts with the escape code “ ” The backslash indicates that the characters that will follow is NOT TO BE PROCESS in the ORDINARY WAY ESCAPE SEQUENCE new line tab double quote backslash
11. SCREEN OUTPUT FUNCTION printf(“arvin “ SUPERMAN”); arvin _ _ START OF THE FORMAT STRING END OF THE FORMAT STRING SYNTAX ERROR NEXT CODE
12. ESCAPE SEQUENCE START OF THE FORMAT STRING SCREEN OUTPUT FUNCTION printf(“arvin amp;quot; SUPERMAN”); arvin _ _ “ SUPERMAN _ END OF THE FORMAT STRING NEXT CODE
13. ESCAPE SEQUENCE START OF THE FORMAT STRING SCREEN OUTPUT FUNCTION printf(“arvin SUPERMAN”); arvin _ _ UPERMAN _ END OF THE FORMAT STRING NEXT CODE
14. ASSESSMENT printf(“di nga ako nagpaputok”); printf(“nun bagong taon… baket???”); printf(“kasi sumasabog na ang puso ko sa’yo”); di nga ako nagpaputok _ _ _ _ nun _ _ bagong taon… _ _ baket _ _ ??? _ _ kasi _ _ sumasabog na ang _ “ puso ko _ “ _ sa’yo _