#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 |
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
write a c-program to display the time using FOR loop
main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p
to remove the repeated cahracter from the given caracter array. i.e.., if the input is SSAD output should of SAD
main() { int i=_l_abc(10); printf("%d\n",--i); } int _l_abc(int i) { return(i++); }
main() { char *cptr,c; void *vptr,v; c=10; v=0; cptr=&c; vptr=&v; printf("%c%v",c,v); }
How we will connect multiple client ? (without using fork,thread)
main() { char a[4]="HELL"; printf("%s",a); }
int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123