Get Started
1378

Q: How would you obtain segment and offset addresses from a far address of a memory location?

  • Show Answer
  • Workspace

Answer :
Explanation :

#include "dos.h" main() {     Char far *scr = ( char far *) 0xB8000000;     Char *seg, *off;     Seg = (char *) FP_SEG ( scr );     Off = ( char *) FP_OFF ( scr ); }

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today