Discussion Forum : Control Structures
Question - What will be the output of the following code?
#include
void main()
{
int s=0;
while(s++
Options:
A .  1 2 3 4 5 6 7 8 9
B .  1 2 3 10
C .  4 5 6 7 8 9 10
D .  4 5 6 7 8 9
E .  None of these
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *