+ 1

What is the string used for?

i was learning and i came across this example problem with the word string? it isnt colored but when i remove it from the void the code gets errors can someone explain? https://code.sololearn.com/ciT43091cjUb/?ref=app

14th Jan 2018, 2:19 PM
Lord Awesome
Lord Awesome - avatar
2 Réponses
+ 6
u must put the data type of the argument when u get it in the function, otherwise compiler wont know what kind of parameter is going to come👌
14th Jan 2018, 2:31 PM
Botol
Botol - avatar
0
do you mean a type of #include? what would be the data type
16th Jan 2018, 3:46 AM
Lord Awesome
Lord Awesome - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes