How do print two line without using of two printf lines,n.

Showing Answers 1 - 5 of 5 Answers

Raagu

  • Sep 19th, 2006
 

#include<conio.h>

main(){

clrscr();

printf("%sttttttttttt%s", "Hello", "Hi");

return 0;

}

  Was this answer useful?  Yes

job hunter

  • Sep 20th, 2006
 

It didin't worked on Unix. It assumes length of line is 80 but that's something you can gurantee with GUI.

  Was this answer useful?  Yes

Ansu

  • Oct 13th, 2006
 

printf("Hellon this is world");

output:

 Hello

this is world

  Was this answer useful?  Yes

chris

  • Nov 15th, 2006
 

The new line character is n.

printf("%s"  n  "%s","hai","welcome");

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions