When is the last time you coded in C/C++? What is the most
lines of original C/C++ code you have personally written in
one project? How confident are you in your ability to write
C or C++ without a reference?
Yes this is a right question, but its answer depends on
individual, there is no direct associated answer.
Actually Interviewee want to judge candidate 's coding skills,
If He didn't write any code since past few months, or may be
since past few years.
based on the above interviewee can get the idea about the
coding confidence of candidate.
Is This Answer Correct ? | 0 Yes | 0 No |
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
what are the iterator and generic algorithms.
Explain all the C++ concepts using examples.
Generally variables are stored in heap memory. When he variables are created in stack?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
Why is it necessary to use a reference in the argument to the copy constructor?
What is meaning of in c++?
Is java as fast as c++?
What is the advantage of an external iterator.
What is the function of I/O library in C++ ?
What does it mean to declare a member function as virtual?