Is C object-oriented?
a) Yes
b) No
c) Partially
d) Depends on usage
Answer:
b) No
Explanation:
C is not an object-oriented programming language. It is procedural, meaning it focuses on functions and the sequence of operations in the program rather than objects and classes. While C can simulate some object-oriented principles through structures and function pointers, it does not inherently support features like inheritance, polymorphism, or encapsulation, which are fundamental to object-oriented languages like C++ and Java.
Understanding that C is procedural helps in designing and structuring programs that are clear, logical, and efficient, especially for tasks requiring close hardware interaction and performance optimization.