what is oop?

Answers were Sorted based on User's Feedback



what is oop?..

Answer / ravi

Object Oriented Programming Language aka OOP's language, whose basic concept and hirecarry revolve around considering code snippets as real objects of world. It's better than procedural programming language, with strongly typed language.

Is This Answer Correct ?    5 Yes 0 No

what is oop?..

Answer / maulik

A type of programming in which programmers define not only
the data type of a data structure, but also the types of
operations (functions) that can be applied to the data
structure. In this way, the data structure becomes an object
that includes both data and functions. In addition,
programmers can create relationships between one object and
another. For example, objects can inheritcharacteristics
from other objects.

One of the principal advantages of object-oriented
programming techniques over procedural programming
techniques is that they enable programmers to create modules
that do not need to be changed when a new type of object is
added. A programmer can simply create a new object that
inherits many of its featuresfrom existing objects. This
makes object-oriented programs easier to modify.

Is This Answer Correct ?    1 Yes 0 No

what is oop?..

Answer / ram

obeject oriented program.
in c only supports structured program. but latest languages c++ and java supports oops.
the data of c program is easily modified by any function in the program.
but in c++/java the data is wrapped to particular functions. so the data only modified by with in the class.
oops have features of
1)encapsulation. wrapping data.
2)inheritance. reusability of code.
3)abstraction.
4)polymorphism.
5)exception handling

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Code Interview Questions

main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }

2 Answers   IBM,


#include<stdio.h> void fun(int); int main() { int a; a=3; fun(a); printf("\n"); return 0; } void fun(int i) { if(n>0) { fun(--n); printf("%d",n); fun(--n); } } the answer is 0 1 2 0..someone explain how the code is executed..?

1 Answers   Wipro,


main() { main(); }

1 Answers  


Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.

2 Answers   Mentor Graphics, Microsoft,


String copy logic in one line.

11 Answers   Microsoft, NetApp,






1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.

8 Answers   IBPS, Infosys, TCS,


write a c-program to find gcd using recursive functions

5 Answers   HTC, Infotech,


How will you print % character? a. printf(“\%”) b. printf(“\\%”) c. printf(“%%”) d. printf(“\%%”)

4 Answers   HCL,


There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.

1 Answers   TCS,


respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"

1 Answers   Genpact, Ozdocs,


main() { char c; int i = 456; clrscr(); c = i; printf("%d", c); } a. 456 b. -456 c. random number d. none of the above

3 Answers   BrickRed, HCL,


What are segment and offset addresses?

2 Answers   Infosys,


Categories