[ create a new paste ] login | about

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

C, pasted on Jun 23:
1
2
3
4
5
6
7
8
9
10
11
12
13
classe prova 
{
private string disciplina
Private int questoes 
}
Class program
{
static void main (string[] args)
{
Prova P1 = New Prova ();
Prova P2 = New Prova ('Pool1"10');
}
{


Output:
1
2
3
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'prova'
Line 6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'program'
Line 22: warning: character constant too long for its type


Create a new paste based on this one


Comments: