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
What is c++ code?
Is ca high or low level language?
What does it mean to declare a member function as virtual?
What is the rule of three?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
What is meant by entry controlled loop?
What information can an exception contain?
Describe the setting up of my member functions to avoid overriding by the derived class?
What is the difference between a definition and a declaration?
Explain the concept of copy constructor?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
What is the full form of c++?
How do you add an element to a set in c++?
what you know about c++?
Explain what are single and multiple inheritances in c++?