Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

ccc

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.13 sec, absolute running time: 0.08 sec, cpu time: 0.01 sec, memory peak: 3 Mb, absolute service time: 0,29 sec 
edit mode |  history
Warning(s):
source_file.c:4:1: warning: return type of ‘main’ is not ‘int’ [-Wmain]
 main ()
 ^
source_file.c: In function ‘main’:
source_file.c:6:8: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
 char c=NULL;
        ^
source_file.c:8:8: warning: passing argument 1 of ‘strcpy’ makes pointer from integer without a cast [-Wint-conversion]
 strcpy(c,"hogehoge");
        ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/string.h:25,
                 from source_file.c:1:
/usr/include/x86_64-linux-gnu/bits/string3.h:108:1: note: expected ‘char * restrict’ but argument is of type ‘char’
 __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
 ^
Error(s):
Invalid memory reference (SIGSEGV)

        

    
                
λ
.NET NoSQL database for rapid development