how to print comment in new line in c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how to print comment in new line in c

7th Dec 2020, 12:03 PM
Vipul Srivastava
18 Answers
+ 10
BeegCat 🙄printf("vipul \nSrivastava");
7th Dec 2020, 12:11 PM
ㅤㅤㅤ
+ 9
BeegCat 🙄 why you using 2times printf 🙃
7th Dec 2020, 12:14 PM
ㅤㅤㅤ
+ 3
//to print something in new line Printf("ram"\n); Printf("raftaar"); //Output will be as follow ram raftaar
8th Dec 2020, 5:10 PM
RÃM RÃFTÃÃR
RÃM RÃFTÃÃR - avatar
+ 3
Vipul Srivastava i know bro
9th Dec 2020, 4:16 AM
Yash Chaudhari
Yash Chaudhari - avatar
+ 2
for print comment in new line , we use scape sequence (who works with backslash) some scape sequence :- \n = new line \t = tab horizontal \v = tab vertical etc.
1st Mar 2021, 12:16 PM
Abhishek Prajapati
Abhishek Prajapati - avatar
+ 2
Vani Srivastava #include<stdio.h> int main() { printf("vipul\n"); printf("srivastava"); }
2nd May 2021, 7:31 PM
Sachin Verma
Sachin Verma - avatar
+ 1
#include<stdio.h> int main(){ printf ("vipul"); printf ("srivastava");
7th Dec 2020, 12:08 PM
Vipul Srivastava
+ 1
where to use in this type of program
7th Dec 2020, 12:09 PM
Vipul Srivastava
+ 1
i want to prinnt srivastava in new line
7th Dec 2020, 12:09 PM
Vipul Srivastava
+ 1
can u please write small provram to print srivastava in new line
7th Dec 2020, 12:11 PM
Vipul Srivastava
+ 1
i need seivastav below vipul
7th Dec 2020, 12:13 PM
Vipul Srivastava
+ 1
than
7th Dec 2020, 12:15 PM
Vipul Srivastava
+ 1
It looks like it's not possible i searched on google and the search result is A compiled C program without access to its own source code will not be able to print the comments. The comments are removed by the C preprocessor, and never even seen by the compiler. In other words, the comment text is not available once the program is executable.
7th Dec 2020, 2:44 PM
Yash Chaudhari
Yash Chaudhari - avatar
+ 1
واللنليثظع
8th Dec 2020, 1:58 PM
الساعدي مصطفي
+ 1
How enter multiple names in c
8th Dec 2020, 5:04 PM
RÃM RÃFTÃÃR
RÃM RÃFTÃÃR - avatar
+ 1
Vipul Srivastava Yash Chaudhari In all programming languages the word comments means a special and specific thing. Comments are text inserted into the program to explain what the code does if the code itself is too complicated to understand. The comments are there just to make the code easier to understand for someone reading the code. Text inside the comments is removed depending on the programming language before or during compilation and the comment text is not available once the program is compiled into an executable.
9th Dec 2020, 1:50 AM
Macross-Plus
Macross-Plus - avatar
- 2
thank you so much . well today i bought my new phone with my money and i am 12th class student . if its ok than can any one help me in coding on whats app . ill ask my query only
7th Dec 2020, 12:23 PM
Vipul Srivastava