TEST help.

I wrote the following program for the problem “TEST” , then I submitted it in BASH language… it gave a runtime error, but it works perfectly on my system … can anyone help me figure out what’s the problem??

touch x.c
printf ‘%s’ ’

#include <stdio.h>
int main(){

int n;

return 0;

’ > x.c

gcc x.c

Instead of running the program on your computer, ope Ideone. Choose the language Bash there and then check whether your program is correct or not.

1 Like