+ 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 ответов
+ 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