Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main (){
- long int *p=NULL;
- p=(long int*)malloc(sizeof(long int));
- printf ("Introduce un valor:\n");
- scanf ("%d", &p);
- printf ("El valor introducido es: %d\nY su direccion de memoria %d.\n", p, &p);
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement