What is the output of the following C Program?


Loading

โœช Choose the correct option.

What is the output of the following C Program?


#include

void main()

{

int i;

printf("%d",scanf("%d",&i)); // value 20 is given as input here

}

A. 0
B. 20
C. Compiler Error
D. 1