Please help me in rectify the error ,Error is coming while passing string to function.I am sharing ide link
Array -Sum Of Two Arrays Problem
hi
u have make the array of string
and u r passing it like a one single string
it is like that
void func(int a)// this u r doing just here is int and u r doing this for string
int a[100]
func(a)
just do like that
please let me know how can I pass array of string to function
Just like integer array
Void func(int a[])
Void func(string s[])
I made the changes but it is still giving errors
can u please suggest other necessary changes
hi u cant do
str1.lenght()
as str1 is array
u have to do
str1[index].length()
Also this is the question of sum of two integer array
so don’t do like that
just simple add two array of int type
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.