@salem thankyou for your answer I agree to your point..but then what about the following code
int foo(){return 5;}int main(){ printf("%d",sizeof(foo())); return 0;}
here the call to foo() is...
Type: Posts; User: Saurabh Mehta
@salem thankyou for your answer I agree to your point..but then what about the following code
int foo(){return 5;}int main(){ printf("%d",sizeof(foo())); return 0;}
here the call to foo() is...
Is the sizeof operator in c a compile time or run time operator..Because the following code works fine with a gcc compiler
int a;
scanf("%d",&a);
printf("%d",sizeof(a));But I...