printf : It is use to print any message or value of any variable.
Syntax:
printf("message");
or
printf("message <control_string>",variable);
Where.....
<control_string>
Message: Message that you want to print on console.
Variable: Variable name which value you want to print.
scanf : It is use to read value of variable from user(console).
Syntax:
scanf("message <control_string>”,&variable1,&variable2,...&variable);
No comments:
Post a Comment