fork download
  1. #include <stdio.h>
  2.  
  3. Int main(){
  4. Char text=" ";
  5. Printf("input a line of text");
  6. Scanf("%c",&text);
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.m:3:1: error: unknown type name 'Int'; did you mean 'int'?
Int main(){
^~~
int
prog.m:4:4: error: use of undeclared identifier 'Char'; did you mean 'char'?
   Char text=" ";
   ^~~~
   char
prog.m:4:9: warning: incompatible pointer to integer conversion initializing 'char' with an expression of type 'char [2]' [-Wint-conversion]
   Char text=" ";
        ^    ~~~
prog.m:5:4: warning: implicit declaration of function 'Printf' is invalid in C99 [-Wimplicit-function-declaration]
   Printf("input a line of text");
   ^
prog.m:6:4: warning: implicit declaration of function 'Scanf' is invalid in C99 [-Wimplicit-function-declaration]
   Scanf("%c",&text);
   ^
3 warnings and 2 errors generated.
stdout
Standard output is empty