Joined
Last Seen
-2 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #72.7K
I have to return a char * from a routine which has a char[] This should be simple but sometimes str1 results in garbage [code] char* foo (int ch) { char str[10]; char* str1; if (foo1(str,ch)) { str1 = str; } else { str1 ="???" } return(str1); } boolean foo1(char … |