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 / goldy ramnani

13
because 1stly a=5,
then compiler compile fromleft to right,
so ++a means a=6 then
++a a=6 now a=7,lastly 7+6=13

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why shouldn’t I start variable names with underscores?

1119


Disadvantages of C language.

1166


Describe the difference between = and == symbols in c programming?

1457


Why do we use return in c?

1051


Why c is called top down?

1220


What are the 5 organizational structures?

1084


What is the difference between malloc() and calloc() function in c language?

1140


Can you please compare array with pointer?

1156


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1175


What is data types?

1142


What is extern variable in c with example?

1056


What is the purpose of clrscr () printf () and getch ()?

1114


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2389


What is the difference between Printf(..) and sprint(...) ?

1640


What is static memory allocation? Explain

1138