Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I have to Print Name in Using string and functions How can I Print the string using function

What I have tried:

I have to Print Name in Using string and functions How can I Print the string using function
Posted
Updated 22-Jan-21 15:35pm

Have you tried :
C++
cout << name;
 
Share this answer
 
Comments
Nelek 22-Jan-21 18:01pm    
Whaaaattt??? No function? tsk tsk -.-

;P :DD
Learn C++[^]

Incidentally, if you are starting to learn, C# is more popular
 
Share this answer
 
Comments
Richard MacCutchan 23-Jan-21 4:11am    
Chances are he is being taught C++. There are a lot of similar questions posted here in the last few months - new term probably.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900