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
what kind of wood is in high demand in india?
what is the use of typedef in c language?
operation of carrier aided protection and what is the basis for choice of frequncy in powerline carrier system
to acheve the IP 65 protection class does it is mandatory to apply silicon grease?
Friends Any one tell me the best institute for the telecom protocol course
how u send idocs with out using r.f.c interface
explain in detail about life cycle of thread
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..
How would Nvidia increase the core clock speed anymore?
Explain the memory reference and register reference instructions as micor operation.
How will I MOve Comp-1 variable into next variable without using Move statement?
when did actually oil exploration start
objective type quistion
Why is not creat swap partition in my system.
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