J
junky_fellow
Consider the following piece of code:
#include <stddef.h>
int main (void)
{
int i, j=1;
char c;
printf("\nsize =%lu\n", sizeof(i+j));
printf("sizeof =%lu\n", sizeof(c+i));
printf("size =%lu\n", sizeof(i++));
}
I wanted to how sizeof is evaluated in each case ?
#include <stddef.h>
int main (void)
{
int i, j=1;
char c;
printf("\nsize =%lu\n", sizeof(i+j));
printf("sizeof =%lu\n", sizeof(c+i));
printf("size =%lu\n", sizeof(i++));
}
I wanted to how sizeof is evaluated in each case ?