Join ExamsbookAnswer :
How would you eliminate the warning generated on complaining the following program?
main()
{
char far *scr;
scr = 0xB8000000;
*scr = 'A';
}5
Q: How would you eliminate the warning generated on complaining the following program? main() { char far *scr; scr = 0xB8000000; *scr = 'A'; }
- Show AnswerHide Answer
- Workspace
Answer :
Explanation :
Use the typecast scr = (char far *) 0xB8000000;



