Thanks Friend!!!
Also I want to know 2 more things..
Can i declare like this:
1) int *p = 0; // I guess p here would be a NULL pointer.
2) int *p, q;
p = &q;
p=4; // What will p contain?Is it a valid statement?
Thanks in Advance!!!!
Printable View
Thanks Friend!!!
Also I want to know 2 more things..
Can i declare like this:
1) int *p = 0; // I guess p here would be a NULL pointer.
2) int *p, q;
p = &q;
p=4; // What will p contain?Is it a valid statement?
Thanks in Advance!!!!
Why not try them out?