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 |
a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'
I heard that you have to include stdio.h before calling printf. Why?
What are the different types of data structures in c?
what's the return value of malloc()
What is null character in c?
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
Why is sprintf unsafe?
What is function and its example?
Explain how can you restore a redirected standard stream?
main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail
Is c programming hard?
What is the sizeof () operator?