Hello everyone,
I'm given the following main() function and is required to write a function to do things. Could someone please help me with the prototype? Im really stuck and dont know how to pass a string parameter to MyFunc. Thanks in advance!
Code:int main() { char MyString[2][5] = {"1234", "abc5"}; for(i=0;i<2;i++) MyFunc(MyString[i]); return 0; } void MyFunc( what_should_i_put_here ) { search throw MyString ("1234" and "abc5") to do stuff; }