[ create a new paste ] login | about

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

C, pasted on Oct 18:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "stdio.h"
int main(){
printf("请输入单链表的长度:\n");
printf("10\n");
printf("请输入递减的元素:\n");
printf("98 82 73 66 51 44 37 26 19 6");
printf("原链表为:\n");
printf("98 82 73 66 51 44 37 26 19 6\n);
printf("请输入插入的数:\n“);
printf("49\n");
printf("插入后的链表为:\n");
printf("98 82 73 66 51 49 44 37 26 19 6");
return 0;
}


Output:
1
2
3
4
5
6
7
8
In function 'main':
Line 8: error: missing terminating " character
Line 9: error: missing terminating " character
Line 10: error: expected ')' before ';' token
Line 14: warning: passing argument 1 of 'printf' makes pointer from integer without a cast
Line 14: error: expected ')' before '}' token
Line 14: warning: passing argument 1 of 'printf' makes pointer from integer without a cast
Line 14: error: expected ';' before '}' token


Create a new paste based on this one


Comments: