Can anyone help me passing char array to method when i tried it is only copying one index value so
char c1[]={0x01};
char c2[]={0x02};
char c3[]={0x03};
char *c[3];
c[0] = c1;
c[1] = c2;
c[2] = c3;//if i pass this char array to the below method only c[0] is copied
char* arrrr =[self mountLVparams:NULL :c :code_ward_arr];
//my method being this
-(char *)mountLVparams:(signed char *)initData :(char *)obj :(signed char *)codeWard
c is a pointer to a pointer. your method signature should be like
-(char *)mountLVparams:(signed char *)initData :(char **)obj :(signed char *)codeWard