#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 / vasanth
since macro is expanded like (x++ * x++ * x++) = (3 * 4 *
5) => a = 60
and final value of b = 5++ => 6
ans : 60, 6
| Is This Answer Correct ? | 32 Yes | 15 No |
Post New Answer View All Answers
What two types of containers does the stl provide?
Is stl open source?
What does stl stand for in basketball?
Who created stl?
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.
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
sir please send me bpcl previous question papers
How connect plc and pc through software
What is stl stack?
How does an stl file work?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
write a program to convert a decimal number in to its equivalent binary number?
totoo po ba ang manga aliens!
Who wrote stl?
What is stl stand for?