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 / madhu cherukuri

a=5
b=++a +++a;
ANS:14
in this case the data will be storing in CPU register so the
result is 14 only.

volatile int a=5;
b=++a + ++a;
ANS:13
the data will be stored in directly memory

Is This Answer Correct ?    33 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is calloc in c?

1194


What is the total generic pointer type?

1213


What is the condition that is applied with ?: Operator?

1187


Explain what is wrong in this statement?

1182


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2136


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

2139


What is the difference between char array and char pointer?

1124


Write a function that will take in a phone number and output all possible alphabetical combinations

1110


What is struct node in c?

1130


What is array of structure in c?

1256


What is fflush() function?

1195


Explain is it valid to address one element beyond the end of an array?

1255


What is nested structure in c?

1122


Explain can the sizeof operator be used to tell the size of an array passed to a function?

1122


What functions are used for dynamic memory allocation in c language?

1219