Solution:-
Procedure oriented programming(C)
|
Object oriented programming (C++)
| ||
1
|
Emphasizing in doing (following flowchart)
|
1
|
Emphasize on data
|
2
|
Large program divided into function
|
2
|
Large program divided into objects
|
3
|
Data can be freely accessed by function around the program
|
3
|
Data are hidden and cannot be accessed by external functions
|
4
|
Function can transfer data from one from to other
|
4
|
Data are not transferred but object common action is done
|
5
|
It is base on Top-down approach
|
5
|
It is base on Bottom-up approach
|
6
|
Eg:- FORTRAN,COBOL, Pascal, C
|
6
|
Eg:- C++, JAVA, Smalltalk
|