[Courses] [C] Beginner's Lesson 4A: Arrays, Qualifiers, and R eading Numbers

Eugene Teo eugene.teo at eugeneteo.net
Fri Oct 11 18:36:39 EST 2002


<quote who="Anand R">
u> [root at tux linuxchix]# gcc a.c -o a -Wall
u> a.c: In function `main':
u> a.c:13: warning: passing arg 2 of `strcat' makes pointer from integer
u> without a cast
u> [root at tux linuxchix]# 
u> 			strcat(full, ' ');

I don't really like the way you write this program but anyway,
the above warning is because of ' '. it should be " ". ' ' is
character, " " is string.

-- 
eMail: eugeneteo at eugeneteo.net, eugeneteo at null.cc.uic.edu
gpg pub_key: http://null.cc.uic.edu/~eugeneteo/eugeneteo.asc
main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);}




More information about the Courses mailing list