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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -