#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 is stl in oop?
Is there any error below, its a code to delete all entires from a map #include
Explain 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
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.
How does an stl file work?
What are the different types of stl containers?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
Is stl open source?
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 does stl stand for in basketball?
In what scenario does the Logical file and Physical file being used?
What are the various types of stl containers?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
Define stl.