Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

I want to join for load runner training..please suggest me which is the best institute for load runner training in bangalore?

1577


to print greatest of two integers without using >,<,=.

1879


what is the advantage of msil in c#

2733


how to count number of 3's in 100

2371


can anybody send me the technical papers of hewitt associates pls...I cleared aps n GD n has only less time for technical round?

2257


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

2321


Explain different parts of an instruction. What does the addressing mode bit specifies?

4559


what is the differance between a technology and an engineering ?

2122


c ka base kya hota hai? what is communication?

5291


how will u send the idoc

2751


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?

2860


How do trains go around bends?

1151


explain software engineering practices

1832


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

1843


please provide me the type of questions or question pattern of bally.

1950