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 / vijay r15
ans 38
it will pass as (5+3)
So the operation will be as
5+3*5+3*5+3
Hence
5+15+15+3=38
Got it
With thanks and regards,
Vijay r15
raj.vijay55@gmail.com
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Write a function that will take in a phone number and output all possible alphabetical combinations
What is pragma c?
What are the types of data files?
What is the explanation for the dangling pointer in c?
What is the argument of a function in c?
What is the meaning of typedef struct in c?
Why do we use header files in c?
What is c++ used for today?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What are identifiers c?
why we wont use '&' sing in aceesing the string using scanf
c program for searching a student details among 10 student details
When is a “switch” statement preferable over an “if” statement?
explain what are actual arguments?