Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

Compiler

Options

Author

anonymous

about 7 years ago

$
prog.cc:2:1: error: C++ requires a type specifier for all declarations
mian(){    
^
prog.cc:12:28: warning: data argument not used by format string [-Wformat-extra-args]
     printf("answer is : ",area);
            ~~~~~~~~~~~~~~ ^
1 warning and 1 error generated.
Exit Code:
1