MCQ Mojo
access_time
menu
Quiz
Web Stories
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
Quiz
Quiz
/
C# Gate & PSU MCQ Questions With Answers
1.
Assuming, integer is 2 byte, What will be the output of the program?
ffff
0
8fff
Error
2.
What will be the output of the following C code? (Assuming that we have entered the value 1 in the standard input)
1
2
1 2
Run Time Error
3.
The format identifier ā%iā is also used for _____ data type.
char
int
float
double
4.
Which of the following cannot be a structure member?
Another structure
Function
Array
None of the mentioned
5.
What will be the output of the following C code?
2
8
9
10
6.
#include statement must be written __________
Before main()
Before any scanf() / printf()
After main()
It can be written anywhere
7.
What is the default return type if it is not specified in function definition?
void
int
double
short int
8.
What would be the size of the following union declaration? (Assuming size of double = 8, size of int = 4, size of char = 1)
4
8
40
80
9.
Which type of variables can have the same name in a different function?
Global variables
Static variables
Function arguments
Both static variables and Function arguments
10.
What will be the output of the C code?
Hello World! x;
Hello World! followed by a junk value
Compile time error
Hello World!
Report Question
Previous
Next
warning
Submit
access_time
Time
Report Question
A bunch of text
Support mcqmojo.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page