Next » ›
#= Preprosser
stdio= standard input output
.h=header line
#include directive tells the C preprocessor to include the contents of the file specified in the input stream to the compiler and then continue with the rest of the original file.
Example:=
/* Addition of Two Number */ Comment Line
#include<stdio.h> Pre Processor Header File
main() Main Function
{ Start
int a,b,c; Integer Declaration
printf("\n Enter two number "); Prompt for Input
scanf("%d %d" ,&a,&b); Accept the Input Data
c=a+b; Calculation
printf("\n The Addition Result is %d",c); Prompt for Result
} Stop
/* ...........................
................................. */ multi line comment
// ............................ single line comment
Names of the special Characters
* -> asterisk
{ -> Curly Bras
[ -> square bracket
( -> round bracket
/ -> front slash
\ -> back slash
& -> ampersand
! -> exclamatory mark
~ -> tilde
" -> double quote
' -> single quote
; -> semi colon
: -> colon
Questions Based on C »
Next » ›