Popular posts from this blog
PRINT HELLO WORLD
PROGRAM-: #include(stdio.h) //*use < > brackets instead of ( ) these. #include(conio.h) //*use < > brackets instead of ( ) these. void main(); { clrscr(); printf("HELLO WORLD"); getch(); } HINTS- crlscr is used to clear the previously printed program, getch is used to hold the screen because speed of program is very fast and is not visible to us. TO GET THE OUTPUT CLICK RUN IN TOOLBAR
🔁ESCAPE SEQUENCE
It is a method to print those characters which cannot be printed directly. Back slash ( \ ) - used for escape sequence. Forward slash ( / )- used for division operator. NEW LINE - \n (printing will be in new line) TAB - \t (new word will be printed after 4 spaces) BACKSPACE - \b (previous word will be deleted) BELL CHARACTER - \a (creates a beep sound but could hear in old pc's) " - \" (when we want output like - hello"world) \ - \\ ( when we want output like - male/female)