[Solved] How do you type something on the same line of text in C [closed]

[ad_1]

From your tags, I’m guessing you’re using printf(). Simply leave out the “\n” character, which means “newline.”.

In other words.

printf("> "); printf("text\n");

This will print:

> text

1

[ad_2]

solved How do you type something on the same line of text in C [closed]