1.

Wht is syntax of scanner???

Answer»
Hi,

In C++ sanner is USED for taking INPUT from user.

syntax:

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

in above SNIPPET we are taking a number as input from user.

hope it helps you.



Discussion

No Comment Found