what is difference between objects and function
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
In which Scenario you will go for Interface or Abstract Class?
1 Answers InfoAxon Technologies,
What is the difference between inheritance and polymorphism?
What is object in oops?
What is difference between oop and pop?
How would you stop a class from class from being derived or inherited.
what is difference between objects and function
What is polymorphism explain its types?
can inline function declare in private part of class?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
what is the realstic modeling?
Write a macro for swapping integers
What is Dynamic Polymorphism?