I have a function Func(string str,int*i=NULL,int*j=NULL,bool ok=false);
I called it as Func(some_string,false);
And program is crashing..Because the order I’m calling with –is wrong??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you wish to specify a value for
ok, you also have to specify values for all arguments that precede it.