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

#define CUBE(x) (x*x*x)
main()
{ int a,b=3;
a=cube(b++);
printf("%d %d",a,b);
}
What should be the value of a and b? My calc a=4 but syst
a=6 how pls tell me if you know it?

Answer Posted / vignesh1988i

surely 'a' cannot be 4 or 6.... it will be the value of b... since we are multiplying b++ thrice...... so surely 'a' cannot be 4 or 6.....

according to me b=6 , and a=60......


thank u

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stl language?

1142


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

2528


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

2210


How connect plc and pc through software

2478


How does an stl file work?

1148


How do I convert a stl file?

1101


Is string part of stl?

1205


How stl is different from the c++ standard library?

1223


When did c++ add stl?

1224


totoo po ba ang manga aliens!

2778


What are the various types of stl containers?

1170


Why should a c++ programmer be interested in stl?

1093


What are the symptoms of stl?

1103


Name the different types of stl containers.

1168


What are the components of stl?

1101