Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Search results for query: *

  1. nkhiste

    array to array

    if name is a string(char * or an array of character) then you can use strcpy() function. other way is to copy character by character. In your code array subscript is missing. It should be : max_age_name[i]=name[i]; Regards, Nkhiste.
Back
Top