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 are the various compound assignment operators in c++?
What is jump statement in C++?
Why is "using namespace std;" considered bad practice?
How can I learn c++ easily?
What are the various situations where a copy constructor is invoked?
How we can differentiate between a pre and post increment operators during overloading?
Where do I find the current c or c++ standard documents?
How are pointers type-cast?
Why do we use constructor?
Explain what is polymorphism in c++?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
When we use Abstract Class and when we use Interface?where we will implement in real time?
What are default parameters? How are they evaluated in c++ function?
Explain about templates of C++.
Does c++ have arraylist?