C Questions for Interview: Below is the list of MCQs to test your basic knowledge.
1) While C programming follows ——– format, Java is ————- language.
A) Objected-Oriented, Procedural-Format
B) Procedural-Format, Object-oriented
C) None
Click Here for Answer
Ans. B
2) Particularly, in terms of portability,
A) C is more portable than Java
B) Java is more portable than C
C) Both are portable equally
D) None of the Above
Click Here for Answer
Ans. B
Java and C Questions
3) C is platform-dependent, while Java is platform-independent.
A) True
B) False
Click Here for Answer
Ans. A
4) In Java, the memory management is ———–.
A) Manual
B) Automatic
C) Partially Manual
D) Partially Automatic
A) Garbage Collector
B) Exception-Handling
C) JVM
D) JRE
Click Here for Answer
Ans. B
6) On the performance scale, which ranks higher regarding fastness?
A) Java
B) C
C) Both are equal
D) None of the Above
Click Here for Answer
Ans. B
7) While C has ———-, Java has ——.
A) Basic standard library, rich standard library
B) Rich standard library, basic standard library
C) Rich standard library, rich standard library
D) Basic standard library, basic standard library
Click Here for Answer
Ans. A
8) In Security terms, C is ——- vulnerable than Java.
A) More
B) Less
C) Equally
Click Here for Answer
Ans. A
9) C Programming is most suitable for ———–.
A) Web Development Applications
B) Embedded Systems
C) Systems Programming
D) B & C
Click Here for Answer
Ans. D
10) Lastly, among these two programming languages, which one uses pointers?
A) C
B) Java
C) A & B
D) None
Click Here for Answer
Ans. A
Furthermore, to get deeper insights about Java and C questions, click on the link.