Difference between POP vs OOPs

Procidure oriented language(POP) object oriented language(OOPs) Both are programming languages that use high-level programming to solve a problem but using different approaches. These approaches in technical terms are known as programming paradigms. A programmer can take different approaches to write a program because there’s no direct approach to solve a particular problem. This is where programming languages come to the picture. A program makes it easy to resolve the problem using just the right approach or you can say ‘paradigm’. Object-oriented programming and procedure-oriented programming are two such paradigms.
what is Procedure oriented language?
Procedural programming is a programming paradigm, derived from structured programming, based upon the concept of the procedure call. Procedures, also known as routines, subroutines, or functions, simply contain a series of computational steps to be carried out. Any given procedure might be called at any point during a program’s execution, including by other procedures or itself. The first major procedural programming languages first appeared circa 1960, including Fortran, ALGOL, COBOL and BASIC. Pascal and C were published closer to the 1970s, while Ada was released in 1980.Go is an example of a more modern procedural language, first published in 2009.
Imperative programming
Procedural programming languages are also imperative languages, because they make explicit references to the state of the execution environment. This could be anything from variables (which may correspond to processor registers) to something like the position of the “turtle” in the Logo programming language.
Often, the terms “procedural programming” and “imperative programming” are used synonymously. However, procedural programming relies heavily on blocks and scope, whereas imperative programming as a whole may or may not have such features. As such, procedural languages generally use reserved words that act on blocks, such as if
, while
, and for
, to implement control flow, whereas non-structured imperative languages use gotostatements and branch tables for the same purpose.
What is Object-oriented programming (OOP)?
Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. A feature of objects is that an object’s procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of “this” or “self”). In OOP, computer programs are designed by making them out of objects that interact with one another.There is significant diversity of OOP languages, but the most popular ones are class-based, meaning that objects are instances of classes, which typically also determine their type.
Many of the most widely-used programming languages (such as C++, Object Pascal, Java, Python etc.) are multi-paradigm programming languages that support object-oriented programming to a greater or lesser degree, typically in combination with imperative, procedural programming. Significant object-oriented languages include Java, C++,C#, Python, PHP, JavaScript, Ruby, Perl, Object Pascal, Objective-C, Dart, Swift, Scala, Common Lisp, and Smalltalk.
eg program
c program for print a name
#include<stdio.h>
void main()
{
printf(“NAME”);
}
c++ program for print a name
#include<iostream.h>
void main()
{
cout<< “Hello User, Enter your first name.\ n “;
}