[ create a new paste ] login | about

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

appunti2 - C, pasted on Apr 30:
1
2
3
4
5
6
7
8
#include <stdio.h>
int main (int argc, char *argv[])
{
  int x = 10;
  void *p = &x;
  printf ("%i\n", *(int *) p);
  return 0;
}


Output:
1
10


Create a new paste based on this one


Comments: