How many lines of code you have written for a single program?
Answer Posted / ashish. j
It depends on what kind of project you are working on.
Specially in a OOD, you have classes and objects. Ask the
interviewer if he wanted the number of lines in the whole
project or just one of the files. Every file can vary from
just 4 lines as stated above by Ilakya.g or it can have
more than 50 lines as needed. I haven't worked in very big
projects yet. But, the small projects I have worked on had
at least 30 lines per class and about 5 classes. That
multiplies to be about 150 lines for the project. Again,
keep in mind, it was a very tiny project. The number of
lines can vastly change if the project is bigger.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
If all is successful, what should main return a) 0 b) 1 c) void
What are the operators in c++?
Define a pointer to a data member of the type pointer to pointer?
What is the use of data hiding?
Can a built-in function be recursive?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
Does c++ have foreach?
Is map thread safe c++?
How do you remove an element from a set in c++?
Write a program to add three numbers in C++ utilizing classes.
What are the important differences between c++ and java?
What is the difference between multiple and multilevel inheritance in c++?
Difference between pass by value and pass by reference?
What does extern mean in a function declaration in c++?
Is it possible for a member function to use delete this?