+ 1

What is exactly the function of the /n section?

26th Mar 2020, 3:30 AM
Daniel FarĂ­as
Daniel FarĂ­as - avatar
3 Answers
+ 2
Hello Can you attach an example with your question to make it more clear.
26th Mar 2020, 4:20 AM
Arsenic
Arsenic - avatar
+ 2
Daniel FarĂ­as it is called the newline character which brings the pointer to starting of the next line whenever encountered Run this code for better understanding đŸ‘šđŸŒâ€đŸ’»đŸ‘‡ https://code.sololearn.com/cQ8Yaa43Osh7/?ref=app
28th Mar 2020, 3:27 AM
Arsenic
Arsenic - avatar
+ 1
#include <stdio.h> int main() { printf("Hello, World!\n"); return 0; } What's the "\n" exactly do? The output doesn't change when i delete it from the code
27th Mar 2020, 6:01 PM
Daniel FarĂ­as
Daniel FarĂ­as - avatar