Advertisement

String output

Started by March 14, 2000 10:32 PM
0 comments, last by CMatrix 24 years, 11 months ago
How do I print two different strings with one call? For example: printf(string1 + string2); I get the impression from the errors i get that you can''t add two variables like that if they are of type char. But surely there must be a way? ~CMatrix
printf("%s %s", string1, string2);
-werdup-

This topic is closed to new replies.

Advertisement