在C語言中,可以使用轉義字符\n來顯示多行文字。例如:
\n
#include <stdio.h> int main() { printf("Hello,\nWorld!"); return 0; }
輸出結果為:
Hello, World!
其中\n表示換行。你可以在需要換行的地方使用\n來顯示多行文字。