Computer · Embedded Systems
How many times will the printf statement execute in the following C code snippet? int i = 1; while (i < 1) { printf('Hello'); i++; }
- 1The code will produce a compilation error
- 21 time
- 30 times✓
- 4Infinite times
Correct answer
0 times
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Embedded Systems?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer · Embedded Systems