what is difference between objects and function

Answers were Sorted based on User's Feedback



what is difference between objects and function..

Answer / jothi basu.m

sir... my answer is objects contains some number of function
and constructors but functions does not contain objects

Is This Answer Correct ?    7 Yes 1 No

what is difference between objects and function..

Answer / saurabh sharma

with the help of object we can call the function of the
class .and with the help of function we can reduce the
redundency.

Is This Answer Correct ?    4 Yes 0 No

what is difference between objects and function..

Answer / rajdeep

object is the part of class.if there is no member function is initialize in function then we can call the function without object.Object always store in heap and function alway store in stack.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is object and example?

0 Answers  


What is Iteration Hierarchy? What is what is Object behavioral concept?

1 Answers  


#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

0 Answers  


Why is object oriented programming so hard?

0 Answers  


What is the difference between a constructor and a destructor?

0 Answers  






assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

0 Answers  


Should you protect the global data in threads? Why or why not?

2 Answers   IBM,


What is overloading in oops?

0 Answers  


which structured data type is not used in c++? 1.union 2.structure 3.string 4.boolean

2 Answers   HCL, Wipro,


What does <> mean pseudocode?

0 Answers  


What do you mean by public, private, protected and friendly?

3 Answers   CA,


what is the main difference between c and c++?

386 Answers   AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,


Categories