Monday, July 13, 2015

Starting pointer

#include <stdio.h>
int main()
{
  int num=5;
  printf("Value: %d\n",num);

  printf("Address: %d\n",&num); 

  printf("Address:%u\n",&num);
  return 0;
}



output:


 Value: 5
Address: 2081809404

Address:2081809404

No comments:

Post a Comment