Solution for Exercise 18-13

ex1813

#include <stdio.h>

int main()
{
    char a,b,c;
    char *p;

    p = &a;
    *p = 'A';
    p = &b;
    *p = 'B';
    p = &c;
    *p = 'C';
    printf("Know your %c%c%cs\n",a,b,c);
    return(0);
}

Notes

* Here is the sample output: