+ 1

Where is the mistake

https://code.sololearn.com/c0H6gTW07mEA/?ref=app here I did a code to convert to uppercase using function and pointers. I don't know what I am missing?

26th Dec 2020, 3:56 AM
🏐Volley
🏐Volley - avatar
3 odpowiedzi
+ 4
C++ is strictly typed, means you have to define what is *lower1* and *lower2* inside main before using them. edit: Same is with str1 and str2 in your function which are undeclared and uninitialised anywhere
26th Dec 2020, 4:06 AM
Arsenic
Arsenic - avatar
+ 4
Also while calling the function capit() remove those single quotes from arguments ( I don't know why you put it there at first place ) edit : in function defination, both of the parameters have same name which will result in ambiguity
26th Dec 2020, 4:08 AM
Arsenic
Arsenic - avatar
+ 2
Oh okay I get it now. Will try thanks Arsenic ☺️
26th Dec 2020, 4:10 AM
🏐Volley
🏐Volley - avatar