C Programming :: Loop Control - Discussion
Home > C Programming > Loop Control > MCQs Questions Discussion
14 / 61
What is the output of the following 'C' program?
#include <stdio.h>
void main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf("%d",i);
}
#include <stdio.h>
void main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf("%d",i);
}
A2
BCompilation Error
C0
D1
E-1
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!