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

what is the value of b
if a=5;
b=++a + ++a

Answer Posted / vinit kumar

answer would be 14

because value will be stored in cpu register..

b=7+6

last vale is 7 then it increases two times so 7*2=14

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many levels of pointers can you have?

1198


Are the variables argc and argv are always local to main?

1026


What are local variables c?

1025


Explain bit masking in c?

1143


What is the use of function overloading in C?

1178


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1162


What is typedef example?

1193


Is it possible to initialize a variable at the time it was declared?

1221


What is #define?

1121


Why can't I perform arithmetic on a void* pointer?

1101


Explain is it better to bitshift a value than to multiply by 2?

1204


Which is the memory area not included in C program? give the reason

1950


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1282


When the macros gets expanded?

1428


What is difference between constant pointer and constant variable?

1322