Today im going to tell you about PRINTF
printf is bassically use for two purposes as in books
but according to me it is use for 3 purposes
*/
#include<stdio.h>
main()
{
// 1st use
printf("\nThis is first use of printf .to printf any message .");
// 2nd use
// to printf any value of variable
int a;
a=32;
printf("\nvalue of a is = %d" , a);
//third use
// to make sence clear while using scanf
printf("\nEnter the value of a = ");
scanf("%d",&a);
}
Post a Comment
"We are digital agency that tries to give you maximum."