| |
GeekInterview.com > Interview Questions > Programming > C
| Print | |
Question: What is a null macro?
What is the differtents 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?
|
| March 03, 2007 08:29:20 |
#4 |
| dasam |
CRM Expert Member Since: March 2007 Total Comments: 33 |
RE: What is a null macro? What is the differte... |
| NULL MACRO : #define NULL 0NULL Pointer : int* ptr = NULL; //points to no whereuninitialised pointer : int* ptr; //points to anywhere |
| |
Back To Question | |