Question
char x,y,z;
printf("%d",scanf("%c%c%c",&x;,&y;,&z;));
a.
A syntax error
b.
Garbage Values
c.
Segmentation violation
d.
Printing of 3
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. If abc is the input, then folloiwng program fragment results in
Similar Questions
Discover Related MCQs
Q. What does the statement
printf("%d",10?0?5:1:12);
prints :
View solution
Q. Find the output of the following :
for (i=1,j=10;i
View solution
Q. For x and y are variables as declared below
double x=0.005,y=-0.01;
What is the value of ceil(x+y)
View solution
Q. The for statement can precede a loop to be executed 50 times or till a boolean variable "found" become false is given by
View solution
Q. What is an Escape Sequence in C language?
View solution
Q. Choose a correct statement about C Escape Sequences.
View solution
Q. What is a format specifier in C language?
View solution
Q. Choose a valid C format specifier.
View solution
Q. Choose a correct statement about C format Specifiers.
View solution
Q. Choose a correct statement about format specifiers.
View solution
Q. What does C format specifier %W.D represent?
View solution
Q. Choose a C Formatted Input Output function below.
View solution
Q. Choose aC unformatted input output function below.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!