What will be the output of the following code snippet?
main()
{
int a=1,b=1;
clrscr();
a=++a||++b&&++a;
printf(a=%d, b=%d,a,b);
getch();
}
Reveal answer
Fill a bubble to check yourself
What will be the output of the following code snippet?
main()
{
int a=1,b=1;
clrscr();
a=++a||++b&&++a;
printf(a=%d, b=%d,a,b);
getch();
}