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
TOKENS
A token is a smallest independent unit of program. (also words in c language is called tokens) Tokens are of 5 types➜ Keywords/Reserved words Identifiers Literals Operators Separators Keywords/Reserved words -: These are the tokens which have fixed meaning in a language. e.g -: void,if,for,while etc. Identifiers -: These are programmer made tokens. Literals -: These are the constants used ...