Find the sizeof() of variables of a given c- code.


int main()
    short int i=20;
    char c=97;
    return 0;





how the option are matching?? which is correct??

Niket Gangwar @niket151194
19 Aug 2017 02:13 am

All the character variables get converted to integers while performing arithmetic operations or in any other such expression.

Thus the (c+i) expression will become an integer.

Therefore,sizeof(c+i) will return 4...