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

Can you please explain the difference between malloc() and calloc() function?

631


List out few of the applications that make use of Multilinked Structures?

1320


how to count no of words,characters,lines in a paragraph.

3914


What does c mean in standard form?

608


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

634






What are the types of pointers?

612


How can I write a function that takes a format string and a variable number of arguments?

613


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

715


What is static function in c?

641


When should the volatile modifier be used?

695


What is the use of extern in c?

657


What is a list in c?

631


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

737


What is meant by gets in c?

617


Can you apply link and association interchangeably?

684