How to make a new line in C language? | Sololearn: Learn to code for FREE!
+ 1

How to make a new line in C language?

How to make a new line in C language? My code #include <stdio.h> Int main() { char name[20]; printf("Enter Your Name : "); gets(name); printf("Have a good study" %s\n",name); return 0; } *Correct if something goes wrong please

24th Jul 2020, 10:22 AM
Raihan
Raihan - avatar
1 Resposta
+ 4
You have given three times double quotation Printf("Have a good study %s\n", name) ;
24th Jul 2020, 10:29 AM
v@msiūüėČ
v@msiūüėČ - avatar