Write a character literal whose value is an asterisk (*).

Feb 5, 2017 at 3:24am
I'm using codelabs to do some programming exercises, and I can't for the life of me seem to get this right. I would greatly appreciate any help. Thank you.
Feb 5, 2017 at 3:41am

char ast = '*';
cout << ast << endl;

I think this one is what you needed?
Last edited on Feb 5, 2017 at 3:43am
Feb 5, 2017 at 3:46am
Ahh, I see. Thanks a lot!
Topic archived. No new replies allowed.