![]() ![]() ![]() | strings/long-strings-5.c - Implicit konkatenering af formateringsstrengen i printf. | Lektion 10 - slide 22 : 51 Program 6 |
#include <stdio.h> #include <string.h> int main(void) { printf("We have a long text that must be printed.\n" "The text contains placeholders such as %d and %c. " "This ends the string.\n", 123, 'a'); return 0; }