aah..I got it now...dumb me..
and this is a neat operation, I had nearly forgotten about the block scope operator..thanx a lot wysota...1. void fn(){
2. int var1;
3. {
4. int var2;
5. }
6. // var2 is no longer valid here
7. }
I will definitely use pointers when I feel necessary..ther very point I was asking this question was because I get all these notions from my classmates who are afraid of the site of pointers....
Bookmarks