#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 mean in slang?
What is a standard template library (stl)?
Is stl open source?
Is there any error below, its a code to delete all entires from a map #include
Who created stl?
What are the symptoms of stl?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
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
Name the different types of stl containers.
What is the stl, standard template library?
In what scenario does the Logical file and Physical file being used?
What is a stl vector?
What does stl stand for in basketball?
Define stl.
How is stl different from c++ standard library?