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 is Symbian.?
difference between tcp ip and open system interconnection
explain software engineering practices
WHAT IS THE MEANING OF FLASHING VD AND FD INSTALLATION PLENIUM BOXES IN CENTRAL AIR CONDITION
How to recyling of Expired Computer/Laptop,Mouse,CPU & Key Board (Warranty)?
friends help me..am a btech fresher.. wt is the eligibility criteria for TCS???? like %...repli me clearly from x onwards..
AD backups and restoration
how can read number 1 to 100,without use anyloop.
Difference between software process model and software process.?
What is the difference between a .PST file and a .OST file?
what are the simlerities between macro and subroutine
what is typa casting and type conversion ?
What is the procedure for taking leave while detecting Epf and Esi?
Prove that in a self-complementing code the sum of the weights must be 9?
what are the no. of leaf nodes in a fibonacci tree ?