Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

String as Parameter on C

void function(char arr[])
//void function(char *arr)
{
   arr[0] = 'X';
}        
int main()
{
   function("MyString");    
   return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #String #Parameter #C
ADD COMMENT
Topic
Name
3+7 =