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


Please Help Members By Posting Answers For Below Questions

write a programme to get a character and thier ASCII value

2672


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

1592


What is an iterator class in c++?

696


Write some differences between an external iterator and an internal iterator?

675


What is ifstream c++?

660






Why is c++ called oops?

648


What is the difference between the parameter to a template and the parameter to a function?

749


How are Structure passing and returning implemented by the compiler?

700


What are mutator methods in c++?

747


What is fixed in c++?

657


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

727


what are the types of Member Functions?

718


What is a forward referencing and when should it be used?

672


Write a function that swaps the values of two integers, using int* as the argument type?

688


What is namespace & why it is used in c++?

691