Problem Solving using C Language

0 of 50 lessons complete (0%)

Basics of Programming

Input and Output

 In C to take the output on the screen we need to use predefined library function “printf” and take the input from the user “scanf”.

 Format:

 printf(“<format string>”,<list of vaiables>);

 scanf(“<format string>”,<&variable);