C++ Interview questions and answers
Define structured programming.
Structured programming techniques use functions or subroutines to organize the programming
code. The programming purpose is broken into smaller pieces and organized together using
function. This technique provides cleaner code and simplifies maintaining the program. Each
function has its own identity and isolated from other, thus change in one function doesnÃt affect
other.
Explain Object oriented programming.
Object oriented programming uses objects to design applications. This technique is designed to
isolate data. The data and the functions that operate on the data are combined into single unit.
This unit is called an object. Each object can have properties and member functions. You can call
member function to access data of an object. It is based on several techniques like
encapsulation, modularity, polymorphism, and inheritance
Define structured programming.
Structured programming techniques use functions or subroutines to organize the programming
code. The programming purpose is broken into smaller pieces and organized together using
function. This technique provides cleaner code and simplifies maintaining the program. Each
function has its own identity and isolated from other, thus change in one function doesnÃt affect
other.
Explain Object oriented programming.
Object oriented programming uses objects to design applications. This technique is designed to
isolate data. The data and the functions that operate on the data are combined into single unit.
This unit is called an object. Each object can have properties and member functions. You can call
member function to access data of an object. It is based on several techniques like
encapsulation, modularity, polymorphism, and inheritance