#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 / vignesh1988i
surely 'a' cannot be 4 or 6.... it will be the value of b... since we are multiplying b++ thrice...... so surely 'a' cannot be 4 or 6.....
according to me b=6 , and a=60......
thank u
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
Why should a c++ programmer be interested in stl?
What is stl language?
how to making game in c++ ?
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
What is a list in c++ stl?
sir please send me bpcl previous question papers
What two types of containers does the stl provide?
Can we use stl in coding interviews?
How do you convert stl to steps?
In what scenario does the Logical file and Physical file being used?
how to use C++?
Is stl part of c++ standard?
Is there any error below, its a code to delete all entires from a map #include
What do stl stand for?
What is a standard template library (stl)? What are the various types of stl containers?