#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?
Answers were Sorted based on User's Feedback
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 |
Answer / 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 |
Is string part of stl?
What is a list in c++ stl?
what's the difference between function overloading and function overiding?
What does stl mean in slang?
what is electronic software
What is the underlying datastructure of map?
tell about sorted linked list
What are the symptoms of stl?
What is a stl vector?
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
Which data structure gives efficient search? A. B-tree B. binary tree C. array D. linked list
21 Answers ABC, Sun Microsystems,
What is stl in c++ with example?