C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
27 / 90
What is the output of the following program ?
int main()
{
char x, y, z;
printf("%d", scanf ("%c%c%c", &x, &y, &z));
return 0;
}
Note: "abc" as input
int main()
{
char x, y, z;
printf("%d", scanf ("%c%c%c", &x, &y, &z));
return 0;
}
Note: "abc" as input
Asyntax error
Bsegmentation violation
Cfatal error
D3
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!