Others Maths Puzzle Programming Program

What is the output of the program

void main()
{
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
if(++k && ++i<--j|| i++)
{
j=++k;
}
printf(" %d %d %d",i,-j--,k);
getch();
}
Option
A. 4,-3,2
B. 5,-3,2
C. 4,-2,2
D. 5,-2,2

Read Solution (Total 5)

Others Other Question

4,6,12,18,30,42,60,72,102,108,...
Print next 3 number through c programming.
If a = 26 and sun = 27 then cat = ?