[ create a new paste ] login | about

Link: http://codepad.org/mHuSYoHf    [ raw code | output | fork ]

EnzoFerber - C, pasted on Jan 1:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main ( void )
{
  int *p;

  *p = 10;

  printf ( "endereco: %p\n", p );
  printf ( "valor   : %d\n", *p );

  return 0;
}
 


Output:
1
2
endereco: 0x4014cd24
valor   : 10


Create a new paste based on this one


Comments: