#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 / riadh khedhiri
the output on a my box:
Linux 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC 2010 i686 GNU/Linux with gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
a = 27
b = 6
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
What is stl in oop?
What is the stl, standard template library?
Can we use stl in coding interviews?
how to making game in c++ ?
When did c++ add stl?
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
Who wrote stl?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
How is stl different from c++ standard library?
What is stl in c++ with example?
Is stl part of c++ standard?
What are the various types of stl containers?
How do you convert stl to steps?
What is a list in c++ stl?