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!!!!
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?
HOPE YOU UNDERSTAND.......
By associating with wise people you will become wise yourself
It's fine to celebrate success but it is more important to heed the lessons of failure
We've got to put a lot of money into changing behavior
PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
IDE- Microsoft Visual Studio 2008 Express Edition