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 advantages of using a pointer? Define the operators that can be used with a pointer.
What are the advantages of prototyping?
What are inline functions? What is the syntax for defining an inline function?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
What is atoi?
How come you find out if a linked-list is a cycle or not?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What is a container class? What are the types of container classes in c++?
What is extern c++?
What are the various compound assignment operators in c++?
What are the advantages of c++ over c?
How can virtual functions in c++ be implemented?
What is the exit function in c++?
What are the types of pointer?