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 |
Explain differences between alloc() and free()?
What is the difference between passing by reference and passing a reference?
What is an orthogonal base class in c++?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
What is the difference between shallow copy and deep copy?
What is a storage class?
Explain how overloading takes place in c++?
What character terminates all character array strings a) b) . c) END
What is difference between c++ and c ++ 14?
What are the comments in c++?
What is lazy initialization in c++?
Where the memory to the static variables is allocated?