+ All Categories
Home > Technology > Introduction to turbo c

Introduction to turbo c

Date post: 30-Nov-2014
Category:
Upload: arvin-buendia
View: 368 times
Download: 5 times
Share this document with a friend
Description:
 
Popular Tags:
14
Powerpoint Templates ARVIN santos buendia
Transcript
  • 1. Powerpoint Templates ARVINsantos buendia

2. Powerpoint Templates OBJECTIVES 3. Powerpoint Templates INTRODUCTION TO TURBO-C 4. Powerpoint Templates INTRODUCTION TO TURBO-C 5. Powerpoint Templates TURBO-C CODE STRUCTURE COMMENTSCOMMENTS PREPROCESSOR DIRECTIVEPREPROCESSOR DIRECTIVE BEGIN BLOCK OF main( ) FUNCTIONBEGIN BLOCK OF main( ) FUNCTION END BLOCK OF main( ) FUNCTIONEND BLOCK OF main( ) FUNCTION VARIABLE DECLARATIONVARIABLE DECLARATION FUNCTION NAMEFUNCTION NAME BODY OF THE PROGRAM BODY OF THE PROGRAM Hello Arvin_ _Hello SUPERMAN_ 6. Powerpoint Templates SCREEN OUTPUT FUNCTION printf( ); is used to write information on the screen printf(); is a string that begins and ends with double quotes printf(ARVIN santos BUENDIA); ARVIN santos BUENDIA_ _ 7. Powerpoint Templates 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 n new line t tab double quotebackslash 8. Powerpoint Templates SCREEN OUTPUT FUNCTION printf(arvin nSUPERMAN); arvin_ _ _SUPERMAN_ 9. Powerpoint Templates SCREEN OUTPUT FUNCTION printf(arvin n SUPERMAN); arvin_ _ _SUPERMAN__ 10. Powerpoint Templates SCREEN OUTPUT FUNCTION printf(arvin tSUPERMAN); arvin_ _ SUPERMAN__ 11. Powerpoint Templates SCREEN OUTPUT FUNCTION printf(arvin SUPERMAN); arvin_ _ START OF THE FORMAT STRING END OF THE FORMAT STRING SYNTAX ERROR NEXT CODE 12. Powerpoint Templates ESCAPE SEQUENCE START OF THE FORMAT STRING SCREEN OUTPUT FUNCTION printf(arvin " SUPERMAN); arvin_ _SUPERMAN_ END OF THE FORMAT STRING NEXT CODE 13. Powerpoint Templates ESCAPE SEQUENCE START OF THE FORMAT STRING SCREEN OUTPUT FUNCTION printf(arvin SUPERMAN); arvin_ _SUPERMAN_ END OF THE FORMAT STRING NEXT CODE 14. Powerpoint Templates ASSESSMENTprintf(di nga ako nagpaputoknn); printf(nun nbagong taon nbaketn???); printf(nkasit sumasabog na ang puso ko sayo);di nga ako nagpaputok_ _ _ _nun _ _bagong taon _ _baket_ _???_ _kasi_ _sumasabog na ang _puso ko_ _sayo_


Recommended