Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 1)
1.
You can use C++ as a procedural, as well as an object-oriented, language
Discussion:
25 comments Page 1 of 3.
Satyam Sahu said:
2 years ago
C++ is a multi-paradigm programming language, which means it supports multiple programming paradigms, including procedural and object-oriented programming.
Procedural programming is a programming paradigm that emphasizes the use of procedures or functions to organize the program into small, reusable blocks of code. C++ supports procedural programming through the use of functions, structures, and arrays.
Procedural programming is a programming paradigm that emphasizes the use of procedures or functions to organize the program into small, reusable blocks of code. C++ supports procedural programming through the use of functions, structures, and arrays.
Pritam Gayen said:
6 years ago
All C programme are supported in C++ and there is also the features of Object- Oriented programme.
(2)
Manish sharma said:
10 years ago
C++ is procedural and OO language because C++ uses the C functions and C does not support re-usability but C++ does.
(2)
Allen said:
10 years ago
C++ is advance level of C, so it had feature over C. Hence, it can be used as procedural also.
Aruna said:
1 decade ago
C language is base of the C++ language. So it support for the Procedural language. And using C++ language it support for the object oriented language also.
Asha said:
1 decade ago
One is procedural and other is object orient. Then how it can be same?
Dharambir said:
1 decade ago
C++ is the supercast of C language hence support all the features of C. And we all know C is procedural language.
And also C++ support the feature of object hence it is also object oriented language.
And also C++ support the feature of object hence it is also object oriented language.
(1)
Siddu said:
1 decade ago
C++ is inherited from C.
Priyanka said:
1 decade ago
In a Procedural Language, we use subroutines/procedures to write a piece of code that could be used repetitively. In object oriented programming language, there are objects of classes where the classes have instance variables and methods. In C++, we can do both of the above tasks, thus it belongs to both the categories.
Linkeshwar said:
1 decade ago
C++ is both a procedural and object oriented programming language because C++ does not imply strict usage of classes. Class is optional only.
C++ program can be created using functions alone.
C++ program can be created using functions alone.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers