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 / sinchanforyou

It prints:

i=38

Is This Answer Correct ?    25 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a #include preprocessor?

600


Explain the bubble sort algorithm.

630


Why we use void main in c?

580


Explain what is a 'locale'?

574


write a program in c language to print your bio-data on the screen by using functions.

6236






Can we assign integer value to char in c?

605


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

635


plz let me know how to become a telecom protocol tester. thank you.

1736


What are the different types of objects used in c?

560


difference between object file and executable file

6081


How will you find a duplicate number in a array without negating the nos ?

1632


What is a pointer in c?

672


Which is the memory area not included in C program? give the reason

1489


How can I make sure that my program is the only one accessing a file?

665


Explain zero based addressing.

595