New Lines
To insert a new line, you can use the \n
character:
Example
#include <stdio.h> int main() { printf("Hello World!\n"); printf("I am learning C."); return 0; }
You can also output multiple lines with a single printf()
function. However, this could make the code harder to read: Continue reading C New Lines