What is an object?
Answers were Sorted based on User's Feedback
Answer / shruti
An object is the instance of the class..
it is the only gateway to access the entities defined in
the class..
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / abalonesoft
A region of storage with associated semantics.
After the declaration int i; we say that "i is an object of
type int." In OO/C++, "object" usually means "an instance of
a class." Thus a class defines the behavior of possibly many
objects (instances).
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / deepak saini
Object is runtime representation of class in memory.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / noopur
an object is the real instant of a class where class is a user defined datatype and class is a variable of that data type also called complex variable.
| Is This Answer Correct ? | 1 Yes | 0 No |
Do you know what are the properties of union in c?
How can we allocate array or structure bigger than 64kb?
Which header file is used for clrscr?
Explain what is #line used for?
What is the full form of getch?
What is the difference between CV and Resume ?
how to capitalise first letter of each word in a given string?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }
what is the difference between %d and %*d in c languaga?
Why static variable is used in c?