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 / jesaul

The code will not compile. The macro is in wrong case.
After fixing that you would get 27 6

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stl stack?

1123


How is stl different from c++ standard library?

1324


Name the different types of stl containers.

1168


Define stl.

1262


How do you convert stl to steps?

1158


What is the stl, standard template library?

1088


When did c++ add stl?

1224


What do stl stand for?

1133


What is stl stand for?

1234


Is stl part of c++ standard?

1090


What is stl in oop?

1210


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

3376


sir please send me bpcl previous question papers

2397


Can we use stl in coding interviews?

1813


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

2179