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
I want to join for load runner training..please suggest me which is the best institute for load runner training in bangalore?
to print greatest of two integers without using >,<,=.
what is the advantage of msil in c#
how to count number of 3's in 100
can anybody send me the technical papers of hewitt associates pls...I cleared aps n GD n has only less time for technical round?
one fuse has following data 80A 415V -6.9W HN SIZE 00 100 KA gG Please tell me about what is the mean of 100kA gG
Explain different parts of an instruction. What does the addressing mode bit specifies?
what is the differance between a technology and an engineering ?
c ka base kya hota hai? what is communication?
how will u send the idoc
I have attended offcampus conducted by polaris chennai.And i have cleared all rounds on 10th June 2014.They collected all my marksheet xerox and address proof and said that they will send me offer letter in 3 days.. But more than 15days passed but still i didnt receive any information. I am lot depend on this offer... so when can i expect offer letter?? will they surely send me offer letter?
How do trains go around bends?
explain software engineering practices
hi,i came to US to pursue my masters in computer information technology.Can i do my masters the first 6months in US and the rest 9 months course from INDIA through online education
please provide me the type of questions or question pattern of bally.