1.

What is the output of the program in Turbo C (in DOS 16-bit OS)?

#include<stdio.h>
int main()
{ char *s1; char far *s2; char huge *s3; printf("%d, %d, %d n", sizeof(s1), sizeof(s2), sizeof(s3)); return 0;
}

A. 2, 4, 6
B. 4, 4, 2
C. 2, 4, 4
D. 2, 2, 2
Answer» D. 2, 2, 2


Discussion

No Comment Found