C char array storing a variable : <p>I would like to store 2 variables into char array, and print our the first one as shown below.</p>

<pre><code>const char *a[2];
            a[0] = getCapital(bufferStore); //"Australia"
            a[1] = getCurrencyCode(bufferStore); "9876.00"

            printf("%s", a[0]);
</code></pre>

<p>However, I did not get any output. The code of getCapital and getCurrencyCode should be redundant here. The main thing I want to find out is how I can print out "Australia". I'm new to C language and pointers are really hard to understand, and my assignment is due in 2 hours. Any help will be greatly appreciated!</p>
