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 / ashfak yeafi

The answer is 14.
The increment operator has a higher priority than the arithmetic operator.
So the equation will be,
b=7+7=14

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# a good language?

1011


What does s c mean in text?

1098


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2752


Can we use visual studio for c?

1090


What is the difference between strcpy() and memcpy() function in c programming?

1086


What is the description for syntax errors?

1170


Do you know what are bitwise shift operators in c programming?

1103


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1112


What is calloc in c?

1140


What does d mean?

1088


Can you tell me how to check whether a linked list is circular?

1411


show how link list can be used to repersent the following polynomial i) 5x+2

2303


What is || operator and how does it function in a program?

1091


List the difference between a While & Do While loops?

1100


How can I do graphics in c?

1030