C ch 2 printf("")

 Printf() is not a keyword 

Printf() is a pre defined function

 #.             TWO TYPE OF MASSANGE

PRINTING text as it is. Print ("hello world")

Printing text as a variable support

Main() #this command main o make a to run if this is not present the program not run

{

#curly braket is make to the code body

Getch(); # this comment can help to stop your display stop if u enter any keyword on it the main display will show

Display your program and it's a output intraction!!


}

Like this -::::

Main()

{

Printf("hello world"); -------- the ; command is impo to end the program

Getch();



}


Comments