Podcast
Questions and Answers
Which statement is true about loops in C programming?
Which statement is true about loops in C programming?
- Loops are used to perform mathematical calculations.
- Loops are used to repeat a block of code a specific number of times. (correct)
- Loops are used to store data in memory.
- Loops are used to display output on the screen.
What is the purpose of using loops in C programming?
What is the purpose of using loops in C programming?
- To store data in memory.
- To perform mathematical calculations.
- To display output on the screen.
- To repeat a block of code a specific number of times. (correct)
Which of the following is NOT a type of loop in C programming?
Which of the following is NOT a type of loop in C programming?
- if loop (correct)
- while loop
- do-while loop
- for loop
Flashcards are hidden until you start studying