How to have a function default argument/parameter to be another previous argument value ?
let's make the below illustration only really work
How to solve it? thanks much.Code:char* function(char* a, int b, char** c = &a){ // if invoked only with two arg, c is assigned automatically with reference of a //... }