#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 / alan
it depends on the compiler
(x++ * x++ * x++) ==>correct.
the question is when x++?
Note the second time x++, it use the value of x or x++ of
the first x++?
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What are stl algorithms?
What is a stl vector?
how to making game in c++ ?
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
How connect plc and pc through software
What is a standard template library (stl)? What are the various types of stl containers?
What are the different types of stl containers?
sir please send me bpcl previous question papers
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 is stl in oop?
In what scenario does the Logical file and Physical file being used?
What do stl stand for?
totoo po ba ang manga aliens!
what is template and type convertion
What are the various types of stl containers?