Subscribe

Header Ads

Write a program in C to print a statement.

printf()

To print a statement by using C programming, we use "printf()" function. 
The statement which we have to print, we write that statement inside the parenthesis () (followed by printf()) by using double coats on the both sides.
e.g. If we have to print "I am Haider Abidi.". Then it will be written as:- printf("I am Haider Abidi.");

Out put will be:-


Watch the video to make it more clear




Post a Comment

0 Comments