Char assignment to *char not working : <p>Here is a function used in my main. The issue lies in <code>char</code> assignment. </p>

<pre><code>void takeTurn(int *iap, int *tile, char *cap) {
    //*iap is 1 right now

    printf("\nThe current active player is %d. His character is %c", *iap, *cap);
    //prints The current active player is 1. His character is q.

    if (*iap == 1) *cap == 'X';
    if (*iap == 2) *cap == 'O';

    printf("\nThe current active player is %d. His character is %c", *iap, *cap);.
    //prints The current active player is 1. His character is q.

    . . . 
}
</code></pre>

<p>What needs to be done so the <code>*cap</code> assigns the proper <code>char</code> to the proper active player? </p>
