Solution for Exercise 18-13
ex1813
#include <stdio.h> int main() { char a,b,c; char *p; p = &a; /* initialize */ *p = 'A'; /* assign */ p = &b; /* initialize */ *p = 'B'; /* assign */ p = &c; /* initialize */ *p = 'C'; /* assign */ printf("Know your %c%c%cs\n",a,b,c); return(0); }
Output
Know your ABCs
Copyright © 1997-2024 by QPBC.
All rights reserved