Explanation of strange error in c -
just compiled:
#include<stdio.h> main() { print("hello\cworld"); } i got error/output:
warning:unknown escape sequence '\c'
c:\users\abc\appdata\local\temp/ccqlcaaa.o(.txt+ox32):abc.c:undefined reference 'print'
ld returned 1 exit status.
can of deduce error , tell me,in words,what compiler wants say(especially "undefined reference" one)
undefined reference 'print'
print not function declared in stdio.h. surely meant printf.
Comments
Post a Comment