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 / udai
512
| Is This Answer Correct ? | 8 Yes | 6 No |
Post New Answer View All Answers
Is there sort function in c?
What is binary tree in c?
What is difference between structure and union?
How do we open a binary file in Read/Write mode in C?
Which is better pointer or array?
What is the size of empty structure in c?
What are the __date__ and __time__ preprocessor commands?
What are the 5 types of organizational structures?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What does typedef struct mean?
What are the application of c?
What are the advantages of using macro in c language?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What do you know about the use of bit field?
Explain why can’t constant values be used to define an array’s initial size?