#define int char
main()
{
int i=65;
printf("sizeof(i)=%d",sizeof(i));
}
Answer / susie
Answer :
sizeof(i)=1
Explanation:
Since the #define replaces the string int by the
macro char
| Is This Answer Correct ? | 90 Yes | 11 No |
Design an implement of the inputs functions for event mode
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
main() { int i=10,j=20; j = i, j?(i,j)?i:j:j; printf("%d %d",i,j); }
Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 Answers Mentor Graphics, Microsoft,
plz tell me the solution.......... in c language program guess any one number from 1 to 50 and tell that number within 8 asking question in yes or no...............
Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
#define prod(a,b) a*b main() { int x=3,y=4; printf("%d",prod(x+2,y-1)); }
Write a C function to search a number in the given list of numbers. donot use printf and scanf
main() { char a[4]="HELLO"; printf("%s",a); }
main() { char a[4]="HELL"; printf("%s",a); }
union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("\n%d", sizeof(u)); printf(" %d", sizeof(u.a)); // printf("%d", sizeof(u.a[4].i)); } a. 4, 4, 4 b. 40, 4, 4 c. 1, 100, 1 d. 40 400 4