#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
What is stl in oop?
Is there any error below, its a code to delete all entires from a map #include
What two types of containers does the stl provide?
What is meant by stl in c++?
What is a standard template library (stl)? What are the various types of stl containers?
How do I convert a stl file?
How do you convert stl to steps?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What do stl stand for?
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.
What are the symptoms of stl?
What are the components of stl?
What is the stl, standard template library?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is a list in c++ stl?