shelbyanderson6152 shelbyanderson6152
  • 31-01-2024
  • Computers and Technology
contestada

In the following 'C' program, find out the error in the 'while' loop, if any?
main( )
{
int i = 1;
while( )
{
printf("%d", i++) ;
if (i>10)
break;
}
}
a. The while loop should be replaced by for loop
b. No error
c. There should be at least a semicolon in the while ()
d. The connection in the while loop is a must

Respuesta :

Otras preguntas

This question has confused my entire family, and they all think that we need more information, and it isn’t possible. I need help to know if it really isn’t pos
What is the 3rd amendment
who was the first president ofnsouth africa
what is - 1/6 + (-7/4) this is 7th gradr math
3. If Oliver Queen wanted to get the government to allow vigilante justice, he should do a/an _______________ by writing up a proposal and gathering signatures
what were the three purposes of proclamation in 1763
date of battle of Yorktown
[98 POINTS HELP ASAP] [ORIGINIAL ANSWERS ONLY] 1. Describe how eukaryotic plant cells store and remove waste materials. (In a paragraph)
What would be an unalienable right about my sister
integral x^2 sqrt (x+1) dx
ACCESS MORE