Is C a procedural language?
a) Yes
b) No
c) Partially
d) Depends on usage
Answer:
a) Yes
Explanation:
C is a procedural programming language, which means it follows a sequence of steps or procedures to solve a problem. In procedural languages, the focus is on functions and the logic that dictates how the program operates. C’s procedural nature allows for a clear and structured approach to problem-solving, making it easier to understand and maintain the code.
This approach contrasts with object-oriented programming, where the focus is on objects and their interactions. Understanding C as a procedural language helps in designing programs that are efficient and logically organized, especially in applications requiring performance and low-level hardware interaction.