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 / sulochana

This statement is just i=i++ + ++i;
Initially i=5
i++ increments after the statement completed For now its
value is 5.
++i increments before its execution.so it is 6
It executes like
i=5+6; i.e. i=11

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Add Two Numbers Without Using the Addition Operator

882


Why we use conio h in c?

1302


Explain how do you determine the length of a string value that was stored in a variable?

1199


What are pointers? What are stacks and queues?

1220


What does a function declared as pascal do differently?

1224


What is the use of function overloading in C?

1216


What does nil mean in c?

1348


What is meant by type specifiers?

1188


How does free() know explain how much memory to release?

1111


Explain what is page thrashing?

1160


What is malloc return c?

1080


What is void pointers in c?

1066


What are the different types of endless loops?

1128


What are the 5 elements of structure?

1130


What is a double c?

1042