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 kind of wood is in high demand in india?

2047


what is the use of typedef in c language?

1550


operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system

5942


to acheve the IP 65 protection class does it is mandatory to apply silicon grease?

1430


Friends Any one tell me the best institute for the telecom protocol course

1570






how u send idocs with out using r.f.c interface

2686


explain in detail about life cycle of thread

1838


how to count 4 column with two "and" condition in oracle? e.g task_type and cust_type and service_type are 3 column and we hv to count where task_type="new"and cust_type="jdp" and resulting column name will be new cust with jdp..and also we hv to count where task_type="new"and service_type="fs" resulting column name will be new cust with fs..

1331


How would Nvidia increase the core clock speed anymore?

1626


Explain the memory reference and register reference instructions as micor operation.

3800


How will I MOve Comp-1 variable into next variable without using Move statement?

1617


when did actually oil exploration start

1442


objective type quistion

2324


Why is not creat swap partition in my system.

1307


I am selected interview for computer sc.please give me some information how many types question asked in interview.my id is sumanadas10@gmail.com

1342