C Basic i/o

We have standard library <Stdio.h> (standard input output ) in c. Which provides extensive feature of inputting and outputting values on command line.

For input :
We can use scanf function to input values from stdin (keyboard).

Function Prototype :

int scanf(const char *,arg_list);

For output:
We can use printf function to output values on stdout (screen).

Function Prototype :

int printf(const char *, arg_list);

Example :

C basic i/o

 

C basic i/o

%d bloggers like this: