C Programming Quiz for Intermediate
Sign in to Google to save your progress. Learn more
What is the output of following code? void main() { int x=10, y=10; int *p1 = &x, *p2 = &y; printf("%d, %d",*p1,*p2); }
1 point
Clear selection
What is the output of following code? void main() { int x=10, y=10;  int *p1 = &x, *p2 = &y; printf("%d, %d",p1,p2); }
1 point
Clear selection
What is the output of following code? void main(){  int x=5,y=10, z=10;  x = y == z;   printf("%d",x); }
1 point
Clear selection
The mode ____ is used for opening a file for updating.
1 point
Clear selection
The getc will return _________ when end of file has been reached.
1 point
Clear selection
Pointer can be used to return only one value from a function.
1 point
Clear selection
The exit controlled loop is executed a minimum of 0 time.
1 point
Clear selection
The modulus operator (%) can be used only with integers.
1 point
Clear selection
In function prototype declaration, specifying __________ is optional.
1 point
Clear selection
Your E-mail Address *
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.