求助 我用# gcc -c max.c -o test.o 时报错. 求高手指教
root@super-X10DAi:/home/super/workspace# ls
a.out hello.c max.c
root@super-X10DAi:/home/super/workspace# gcc -c max.c -o test.o
max.c: In function ‘max’:
max.c:7:5: error: expected declaration or statement at end of input
}
^
root@super-X10DAi:/home/super/workspace#