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

write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

3089


What is stl stack?

1205


Define stl.

1332


What does stl stand for in basketball?

1226


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

2266


How do you convert stl to steps?

1207


What is stl in oop?

1270


How connect plc and pc through software

2551


Can we use stl in coding interviews?

1872


Name the different types of stl containers.

1220


What do stl stand for?

1201


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

2518


What is stl language?

1214


write a program to convert a decimal number in to its equivalent binary number?

2767


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

1283