India Languages, asked by dainvincible1, 1 year ago

What will be the output of the program in 16 bit platform (Turbo C under DOS)?


#include
int main()
{
extern int i;
i = 20;
printf("%d\n", sizeof(i));
return 0;
}

Answers

Answered by kvnmurty
3
Integer is of size 2 bytes = 16 bits.
Answer is 2. So the Output is:

2

kvnmurty: Click on the thanks button above
Answered by 790sudha
5

integer is of size 2bites =16 bites

Similar questions