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...

void main()
{
int i=5;
printf("%d",i+++++i);
}

Answer Posted / vamsi

Hi Guys.....

The answer is

6+6 = 12

The compiler will take the expression as
i++ + ++i
And the expression would be evaluated from Right to left ...

so answer is 12 and i=7;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is fortran still used today?

1043


Is javascript based on c?

1003


How can a program be made to print the name of a source file where an error occurs?

1177


What does the characters “r” and “w” mean when writing programs that will make use of files?

1426


What is wrong with this declaration?

1049


What is difference between far and near pointers?

989


What is 02d in c?

1030


Is c still relevant?

1036


Explain how do you view the path?

1092


how to execute a program using if else condition and the output should enter number and the number is odd only...

2211


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1295


What is linear search?

1091


What is strcmp in c?

1019


Explain what is #line used for?

1015


how many errors in c explain deply

2039