void func ( string word = \"hello\", int b ) { // some jobs } in another function //calling func ( \"\", 10 ) ;
When I have compiled it, compi
You can't have non-default parameters after your default parameters begin. Put another way, how would you specify a value for b leaving word to the default of "hello" ?
b
word