what will be the output of this program?
#include<stdio.h>
#define cube(x) x*x*x
void main()
{
int i,j=5;
i=cube(j+3);
printf("i=%d",i);
}
Answer Posted / bala prasad
it prints
512
| Is This Answer Correct ? | 17 Yes | 10 No |
Post New Answer View All Answers
Is c compiled or interpreted?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Explain what is the benefit of using #define to declare a constant?
When should we use pointers in a c program?
What are local static variables?
What are extern variables in c?
I have a varargs function which accepts a float parameter?
Why void is used in c?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is action and transformation in spark?
What is the purpose of macro in C language?
What is main return c?
What do you understand by normalization of pointers?
What is extern c used for?
What is the need of structure in c?