WBJECA MCQ FOR NEW SYLLABUS
C Programming MCQ ( SET - 6)
- Which one of the following is not valid identifier ?
- _hello
- hi_
- 10_hello
- hello_10d
Answer: C
Explantion: None - Which one of the following is valid identifier ?
- Num_1
- Num1
- _Num_1
- All of above
Answer: D
Explantion: - C language developed at _________ ?
- Sun micro System
- Bell lab
- HECM lab
- AT & Bell lab
Answer: D
Explantion: None. - What is the insex number of the last element of an array in 7 elements ?
- 14
- 0
- 12
- 6
Answer: D
Explantion: None - Which type of loop are while and for ?
- Exit control
- Entry Control
- both of A & B
- none of above
Answer: A
Explantion: None - Which type of loop are do.... While loop ?
- Exit control
- Entry Control
- both of A & B
- none of above
Answer: A
Explantion: - Which of the following is more memory efficient ?
- Union
- Structure
- depends on sysem
- depends on compiler
Answer: A
Explantion: None - if float a=5/2 ; will return a value ?
- 2
- 2.5
- 2.50000
- 2.500000
Answer: D
Explantion: None - Can we print normal variable inside static function ?
- No
- Yes
- depend on compiler
- Yes but depend on compiler
Answer: A
Explantion: None - 10Which pre- defined function is used for comparing two strings ?
- strcat()
- strrev()
- strev()
- strcmp()
Answer: D
Explantion: None
More C programming MCQ for
0 Comments