cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Write a character literal whose value
Write a character literal whose value is an asterisk (*).
Feb 5, 2017 at 3:24am UTC
servbot
(2)
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 UTC
jonnin
(11442)
char ast = '*';
cout << ast << endl;
I think this one is what you needed?
Last edited on
Feb 5, 2017 at 3:43am UTC
Feb 5, 2017 at 3:46am UTC
servbot
(2)
Ahh, I see. Thanks a lot!
Topic archived. No new replies allowed.