How can I combine these two printf statements in C?
<p>I'm trying to print "Hello the number 5 is correct!" in C. </p>

<p>The way I'm doing it now is with two printf statements:</p>

<pre><code>printf("Hello the number %d", number);
printf(" is correct!\n");
</code></pre>

<p>How can I do this in one statement like in Java:</p>

<pre><code>System.out.println("Hello the number "+number+" is correct!");
</code></pre>

<p>I've tried doing it this way in C:</p>

<pre><code>printf("Hello the number %d", number, " is correct!");
</code></pre>

<p>but the "is correct!" doesn't show up.</p>

<p>is there a way to do this in one statement?
I'm sorry I'm very new to C.</p>