[ create a new paste ] login | about

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

C, pasted on Jul 3:
1
2
3
4
5
6
7
8
9
#include <stdio.h>

main()
{
      str= man
      strlen(str)
          printf ("Hello World!\n");
      
}


Output:
1
2
3
4
5
6
In function 'main':
Line 5: error: 'str' undeclared (first use in this function)
Line 5: error: (Each undeclared identifier is reported only once
Line 5: error: for each function it appears in.)
Line 5: error: 'man' undeclared (first use in this function)
Line 6: error: expected ';' before 'strlen'


Create a new paste based on this one


Comments: