What is a null macro? What is the difference between a null pointer and a null macro?What is near, far and huge pointer? How many bytes are occupied

What is a null macro? What is the difference between a null pointer and a null macro?What is near, far and huge pointer? How many bytes are occupied by them?How would you obtain segment and offset addresses from a far address of a memory location?

ANS :-NULL Macro is simply what is defined as 0 in a macro provided by the library
Null pointer is a pointer which has 0 or NULL value stored and points to nowhere still it points to 0x00 i.e. the first memory location of the OS

No comments:

 
Top Blogs