Question Set

1. What will be the output of the program? #include<stdio.h> int main() { char far near ptr1; char far far ptr2; char far huge ptr3; printf("%d, %d, %d\n", sizeof(ptr1), sizeof(ptr2), sizeof(ptr3)); return 0; }





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->Name the translatory program which translates the high level language into machine language before running the program?....
QA->An unauthorized program which functions from inside what seems to be an authorized program, thereby concealing what it is actually doing:....
QA->An unauthorized program which functions from inside what seems to be an authorized program, thereby concealing what it is actually doing:....
QA->An unauthorized program which functions from inside what seems to be an authorized program, thereby concealing what it is actually doing:....
QA->An unauthorized program which functions from inside what seems to be an authorized program, thereby concealing what it is actually doing:....
MCQ->What will be the output of the program? #include<stdio.h> int main() { char huge near far ptr1; char near far huge ptr2; char far huge near ptr3; printf("%d, %d, %d\n", sizeof(ptr1), sizeof(ptr2), sizeof(ptr3)); return 0; }....
MCQ->What will be the output of the program (in Turbo C under DOS)? #include<stdio.h> int main() { char huge near far ptr1; char near far huge ptr2; char far huge near ptr3; printf("%d, %d, %d\n", sizeof(ptr1), sizeof(ptr2), sizeof(ptr3)); return 0; }....
MCQ->What will be the output of the program under DOS? #include<stdio.h> int main() { char huge near far ptr1; char near far huge ptr2; char far huge near ptr3; printf("%d, %d, %d\n", sizeof(ptr1), sizeof(ptr2), sizeof(ptr3)); return 0; }....
MCQ->What will be the output of the program? #include<stdio.h> int main() { char huge near ptr1; char huge far ptr2; char huge huge ptr3; printf("%d, %d, %d\n", sizeof(ptr1), sizeof(ptr2), sizeof(ptr3)); return 0; }....
MCQ->What will be the output of the program in Turbo C? #include<stdio.h> int main() { char near near ptr1; char near far ptr2; char near huge ptr3; printf("%d, %d, %d\n", sizeof(ptr1), sizeof(ptr2), sizeof(ptr3)); return 0; }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution