¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 2
how to print comment in new line in c
18 Respuestas
+ 10
BeegCat 🙄printf("vipul \nSrivastava");
+ 9
BeegCat 🙄 why you using 2times printf 🙃
+ 3
//to print something in new line
Printf("ram"\n);
Printf("raftaar");
//Output will be as follow
ram
raftaar
+ 3
Vipul Srivastava i know bro
+ 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.
+ 2
Vani Srivastava
#include<stdio.h>
int main()
{
printf("vipul\n");
printf("srivastava");
}
+ 1
#include<stdio.h>
int main(){
printf ("vipul");
printf ("srivastava");
+ 1
where to use in this type of program
+ 1
i want to prinnt srivastava in new line
+ 1
can u please write small provram to print srivastava in new line
+ 1
i need seivastav below vipul
+ 1
than
+ 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.
+ 1
واللنليثظع
+ 1
How enter multiple names in c
+ 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.
- 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
- 2
1 2 3 4 5
20 19 18 17 6
13 14 15 16 7
12 11 10 9 8
https://code.sololearn.com/ckV36vAWidzA/?ref=app
https://code.sololearn.com/cLgxD3u29TIT/?ref=app
https://code.sololearn.com/c5topCN9ggyc/?ref=app
https://code.sololearn.com/c1W8IzEAURjF/?ref=app
https://code.sololearn.com/c9h4ST8EAmMj/?ref=app
https://code.sololearn.com/cAVukF7wa594/?ref=app
https://code.sololearn.com/c91Lt4I3j33V/?ref=app
https://code.sololearn.com/cGNhc5qlBfNK/?ref=app
https://code.sololearn.com/c349fms4LR28/?ref=app
https://code.sololearn.com/cm1keOXhiHhW/?ref=app