Match List I with List II Choose the correct answer from the options given below :List I List II (Programming Paradigm) (Characteristic) A. Imperative I. Declarative, clausal representation, theorem proving B. Object‐oriented II. Side‐effect free, declarative, expression evaluation C. Logic III. Imperative, abstract data type D. Functional IV. Command‐based, procedural
A ‐ IV, B ‐ III, C ‐ I, D ‐ II
The characteristic matches are A–IV, B–III, C–I, D–II: imperative programming uses commands and procedures; conventional object-oriented programming organizes state and operations into objects; logic programming uses clauses and inference; and pure functional programming evaluates expressions without side effects.
Which operator is used for dynamic memory allocation in C++?
Which statements is correct regarding main () function in C++?
I. It is a user defined function.
II. It is a pre-defined function.