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

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

More Questions from Programming

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion