#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 in oop?
How connect plc and pc through software
What do stl stand for?
Who wrote stl?
In what scenario does the Logical file and Physical file being used?
What is stl language?
How do I convert a stl file?
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
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
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.
What is the stl, standard template library?
What are the different types of stl containers?
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
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.