#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 does stl stand for in basketball?
What is a standard template library (stl)?
how to use C++?
Is stl open source?
What is stl stack?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase
What are the various types of stl containers?
How is stl different from c++ standard library?
What is meant by stl in c++?
What is stl in oop?
How connect plc and pc through software
Is stl part of c++ standard?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
What is the use of stl?
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html