What will be output of the following “c” code?


Loading

โœช Choose the correct option.

What will be output of the following “c” code?


#include

void main( )

{

int i;

printf("%d", scanf("%d", &i));

}

If input of is given by keyboard is 10.

A. 10
B. 1
C. Compilation Error
D. None of these