+ 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?
3 Respostas
+ 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
+ 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
+ 2
Oh okay I get it now. Will try thanks Arsenic ☺️