codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <stdio.h> #include <stdlib.h> int main(void) { char name[]="Jenny"; int number=8675309; int *ptr=&number; char n='N'; char o='O'; printf ("%s %s who can I turn to? \n",name, name); printf ("%d \n", number); printf ("Oh shit wrong number! It is not %d, it is actually %p \n", *ptr, &number); printf ("Wait wait wait... thats not a phone number you idiot. Try %d \n", ptr); printf ("%c - %c, no. Just give up.",n,o); return 0; }
Private
[
?
]
Run code
Submit