What Is Pointer In C Programming Language
Pointer
It is used to store the address of one variable to another variable is called a pointer.
* - pointer operator
& - address operator
Program :
#include
#include
void main()
{
int a,*b;
clrscr();
printf("Enter the value of a is:");
scanf("%d",&a);
b=&a;
printf("\n The value pf a is%d",a);
printf"\n The address value of &a is%u",&a);
printf("\n The copy address value of &a to b is %u",b);
printf("\n The copy value of a to *b is %d",*b);
getch();
}
1 Comments
https://www.google.com.au/url?q=https%3A%2F%2Fcodedlist.com%2F
ReplyDeletehttps://www.google.az/url?q=https%3A%2F%2Fcodedlist.com%2F
https://www.google.ba/url?q=https%3A%2F%2Fcodedlist.com%2F
https://www.google.com.bd/url?q=https%3A%2F%2Fcodedlist.com%2F
https://www.google.be/url?q=https%3A%2F%2Fcodedlist.com%2F