Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Write a Program to Change Value of Variable Using Pointer */
- #include<stdio.h>
- #include<conio.h>
- void main()
- {
- int x=10;
- int *p;
- clrscr();
- p=&x;
- *p=15;
- printf("\n Address Of x = %u",x);
- getch();
- }
Add Comment
Please, Sign In to add comment