main()
{
int y=10;
if(y++>9 && y++!=10 && y++>10)
{
printf("%d",y);
else
printf("%d",y);
}
}
Answers were Sorted based on User's Feedback
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 |
what is b tree
how configur net and vpn on cisco product
what is e-bum.
plz send me interview questions & answers of Data Structure
Client server applications
what is the differences between software engineering and other engineering disciplines.
any one can help me to know the top mnc companies and their working platforms?i mean java,php...
what are all the browsers..?
I am having 17 months experience in development.I want to take testing as my career.I dont have experience in testing. Will get job anywhere?
write an algorithm in O(n) time for finding the kth smaalest element form an array of n elements , where n and k are entered by user
#include<stdio.h> int main(){ int a=5; printf("%d %d %d",a++,a++,++a); return 0; }..please explain me output 7 6 8..Thnx in advance
What is mean by the error LVALUE REQUIRED in C language
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)