[ create a new paste ] login | about

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

C, pasted on Nov 7:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include<stdio.h>

int main()
{

   char *pointer= "Hello";

   printf("%c\n", *pointer);

   printf("%s\n", pointer);

   return 0;

}


Output:
1
2
H
Hello


Create a new paste based on this one


Comments: