Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

closed what command do i use for a new line in C

+1 vote
asked Jun 16, 2019 by anonymous
closed Jun 13, 2020 by Admin
closed with the note: Closing question, since it has been answered

16 Answers

+1 vote
answered Jul 2, 2019 by rahul dola (160 points)
\n is the comand used for next line
0 votes
answered Jul 4, 2019 by mayank raj
\n is used for next line

\t for 5 spaces

' ' (space) for 1 space
0 votes
answered Jun 10, 2020 by mahesh (470 points)
\n  is the command used for newline
0 votes
answered Jun 11, 2020 by khajesh narayana (190 points)
(\n) command
0 votes
answered Jun 12, 2020 by LiOS (6,420 points)
The escape sequence used for a new line is \n
0 votes
answered Jun 12, 2020 by LiOS (6,420 points)
The escape sequence used for a new is line is \n, which moves the cursor to a new line
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...