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 |
why bin folder is not be created in windows os?
Hi, I am preparing for Assistant Motor Vehicle Inspector (AMVI) exam.If any body having old question papers please send.My mail id is siyadndd@gmail.com
What do you mean by Templates?
hi, please send me "state bank of india", last 5 years question paper with answers to my mail id.
i need to know abt renault nissan company and the rounds and type of questions asked by today
what is difference between server 2008R1 and 2008 server R2?
Key difference between ip10 and ip20 of ceragon equipment?
safety valve calculation?
/bin/bash is missing.
Hi All... PLease send me if anyone have "Information Security Officer" Aptitude papers. Please Mail me at mannusanghi@gmail.com
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
what is major differnet between hub and switch and also defferent between router and switch
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)