Quote:
Originally Posted by technosavvy
friend if pointer will only have values then what do you want to do with the variables !!

Code:
int var;
var can have values...

if pointer will only have values then what is the use of pointers...

I wanna use like this manner....

Code:
int main()
{
  int *p,x=23;
  *p=10;
   //Some operation like simple variables
   ......
   ......
   printf("%d", *p);
   //After some Instant
    p=&x;
    // Some operation like pointer features As popular)
    ......
    ......
    printf("%d", *p);   
  return 0;
}