Virajsinh

A_PRM_04

Oct 7th, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. /* Write a Program to Change Value of Variable Using Pointer */
  2.  
  3. #include<stdio.h>
  4. #include<conio.h>
  5. void main()
  6. {
  7.     int x=10;
  8.     int *p;
  9.     clrscr();
  10.     p=&x;
  11.     *p=15;
  12.     printf("\n Address Of x = %u",x);
  13.     getch();
  14. }
Add Comment
Please, Sign In to add comment