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 / srikanth karnati

please explain this program.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are header files and what are its uses in C programming?

623


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

970


Why is main function so important?

605


If null and 0 are equivalent as null pointer constants, which should I use?

571


What are control structures? What are the different types?

588






Differentiate between null and void pointers.

622


What is the heap?

675


Why cant I open a file by its explicit path?

587


What is logical error?

594


What is anagram in c?

510


What is #define size in c?

637


how can f be used for both float and double arguments in printf? Are not they different types?

602


What’s the special use of UNIONS?

650


if p is a string contained in a string?

1398


Why we use int main and void main?

530