main()
{
int y=10;
if(y++>9 && y++!=10 && y++>10)
{
printf("%d",y);
else
printf("%d",y);
}
}

Answer Posted / yash golwara

answer will be 13 but we need to first need to edit the code it has some errors
so could be this
#include<stdio.h>
#include<conio.h>
main()
{
int y=10;
if(y++>9 && y++!=10 && y++>10)
{
printf("%d",y);
}
else
printf("%d",y);
}

so now it will give answer 13 in each process it svalues increases and three process so it will increase to 13

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Symbian.?

1491


difference between tcp ip and open system interconnection

2067


explain software engineering practices

1359


WHAT IS THE MEANING OF FLASHING VD AND FD INSTALLATION PLENIUM BOXES IN CENTRAL AIR CONDITION

1511


How to recyling of Expired Computer/Laptop,Mouse,CPU & Key Board (Warranty)?

1435






friends help me..am a btech fresher.. wt is the eligibility criteria for TCS???? like %...repli me clearly from x onwards..

1573


AD backups and restoration

1612


how can read number 1 to 100,without use anyloop.

1265


Difference between software process model and software process.?

1490


What is the difference between a .PST file and a .OST file?

3417


what are the simlerities between macro and subroutine

1456


what is typa casting and type conversion ?

1793


What is the procedure for taking leave while detecting Epf and Esi?

1701


Prove that in a self-complementing code the sum of the weights must be 9?

27949


what are the no. of leaf nodes in a fibonacci tree ?

1889