PropellerAds

IMPORTANT POINT TO BE NOTED

No comments :

IMPORTANT POINT TO BE NOTED WHILE DOING C PROGRAMMING

Doing coding is always not a difficult task you have just take care while doing coding In c Language

  • Every statement must end with semi-colan ; 
  • \n is used to display output in next new line.
  • program must end with } 
  • %d is used to accept or to display numerical value (eg. 50)
  • %f is used to accept or to display floating(decimal)-numerical value (5.5)

  • #include<stdio.h> must present in coding

  • #include<stdio.h> is most important thing in C language it includes the header files .
  • exclamatory mark(!) is used to show not equal to  eg. 10 != 01
  • In If .... else If<condition>  have no colan( :) and semicolan( ; )
  • If you use #include<conio.h> than at end of the code you've to use getch(); otherwise you will get error.
  •  while loops have no semicolan ( ; ) at the end of the statement.
  • in do...while loops while have semicolan( ; ) at the end of the  statement.
  • Void main contains    body part of any programming in c language.

No comments :

Post a Comment