Consider the following code.
What will be the values of a, x, y and z?
main()
{
int x=10,y=20,z=30,a=0;
clrscr();
a=(x+=y)||(y+=z);
getch();
}
Reveal answer
Fill a bubble to check yourself
Consider the following code.
What will be the values of a, x, y and z?
main()
{
int x=10,y=20,z=30,a=0;
clrscr();
a=(x+=y)||(y+=z);
getch();
}