Get Started
878

Q: How would you eliminate the warning generated on complaining the following program? main() {   char far *scr;   scr = 0xB8000000;   *scr = 'A'; }

  • Show Answer
  • Workspace

Answer :
Explanation :

Use the typecast scr = (char far *) 0xB8000000;

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today