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

What is the significance of superconductors?

1021


I am going to HAL Online test for Computer Science. Can you please mail me the model question papers ?

2890


when does the official confirmation or the offer letter for the 2012 selected candidates of HUAWEI will come??

2248


Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

1976


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?

1812


As a good company employee, can you report your supervisor to the company management if he or she is going against the company interest in his or her actions?

2524


1)How to calculate AC Capacity for the Room?

2260


Explain the following program segment. f(){ int *b; *b=2; }

2445


WHY SHOULD I HIRE YOU

2031


Client server applications

1910


When to use Stub and Not So Stubby Area? 10. How to get the external routes without making area Not So Stubby?

1544


Hi i'm richa piplani applied for ATC(IT) if u have the syllabus & old question papers forward me.I will be very much thankful to you. piplani.richa@gmail.com and sonu_pips@yahoo.co.in

2023


What is meant by STL?

2680


what is the difference a zero argument constructor and a default constructor?

2127


what is static identifier in c language?

2167