Introduction to C Programming !

Just Remember All this .

Its helps in C program .Basic of C programming .#
  • Every C program requires  a main ()  function (Use of more than one main () is illegal ). The place main is where the program execution begins.
  • The execution of a function begins at the opening brace of the function and ends at the corresporiding  closing brace .
  • C programs are written in lowercase latter . However , uppercase latter are used for symbolic names and output strings .
  • All the words in a program line must be separated form each other by at least one space, or a tab , or a punctuation  mark .
  • Every program statement in a C language must end with a semicolon. 
  • All variables must be declared for their types before they are used in the program .
  • We must make sure to include header files using #include  directive when the program refers top special names and functions  that it dose not define .
  • Compiler directives such as define and include are special instructions to the compiler to helps it compile a program .They do not end a semicolon .
  • The sing # of compiler directives must appear in the fast column of the line .
  • When braces  are used to group statement ,make sure the opening  brace has a corresponding closing brace. 
  • C is  a free-form language and therefore a proper form if indentation pf various sections would improve legibility of the program .
  • A comment can be inserted almost anywhere a space can appear ,use of appropriate comments in proper place increases readability and understand ability of the program and helps users in debugging and testing . Remember to match the symbols /* and * appropriately . 

The Ends 

*

Post a Comment (0)
Previous Post Next Post