my friend need it for him to land a job..
If your "friend" can't answer the question without help, heshouldn't get the job. Also note that confusing both parentheses and braces for angle brackets is a sure way to not get hired for any job that requires even the most rudimentary knowledge of C++.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
the job offered do not focus mainly about c++
It doesn't have to focus mainly on C++. If getting the job depends on answering a question, you don't deserve to get the job if you can't answer the question. This is simple common sense.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401