#include<stdio.h> ( Standard input output )
#include<conio.h> ( Console input output )
#include<conio.h> ( Console input output )
main ()
Starting
point { Body of a program }
ending point
Example:
#include<stdio.h>
#include<conio.h>
#include<conio.h>
Int main()
{ printf (“ Arguments” ) ;
}
Space Sequences:
Space sequences are used to control
the cursor position.
\n is used for New line.
\t is used for tabs ( 1 tab is equal to 3 spaces ).
\t is used for tabs ( 1 tab is equal to 3 spaces ).
Practice No # 1 :
C
Programming
Practice
Number
One
Programming
Practice
Number
One
If this is
our required output then we code it in C like ,
#include
<stdio.h>
#include <conio.h>
#include <conio.h>
Int main ()
{ printf (“C \n Programming\nPractice\nNumber\nOne”); }
We Can also
Write it as :
#include
<stdio.h>
#include <conio.h>
#include <conio.h>
Int main ()
{ printf (“ C\n”);
printf (“ Programming\n”);
printf (“Practice\n”);
printf (“ Number\n”);
printf (“One\n”); }
printf (“ Programming\n”);
printf (“Practice\n”);
printf (“ Number\n”);
printf (“One\n”); }
Post a Comment