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 |
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.
What is virtual function? Explain with an example
What is the use of register keyword with the variables?
What is c++ used for in games?
What are raw sockets, where they are efficient?
Explain the advantages of using friend classes.
How static variables and local variablesare similar and dissimilar?
describe private access specifiers?
What do c++ programmers do?
Can malloc be used in c++?
Under what conditions is multiple inheritance not recommended?
Is java the same as c++?