What is the Difference between "C structure" and "C++
structure"?
Answers were Sorted based on User's Feedback
Answer / asif iqbal
1.C is a procedural oriented lang. whereas C++ is an object oriented lang.
2.C employs bottom-up aproach whereas C++ employs top-down approach.
3.In C main preference is given to functions whereas in C++ main preference is given to objects.
4.In C no inheritence,polymorphism whereas in C++ it exists.
5.In C data member and member functions are separated whereas in C++ they are within a Class.
| Is This Answer Correct ? | 1 Yes | 8 No |
Answer / guest
C++ DOES NOT HAVE INHERITANCE IT DOSE NOT HAVE POINTERS N
HEADER FILES
| Is This Answer Correct ? | 7 Yes | 33 No |
Write a program in C++ for Fibonacci series
0 Answers Axtria, ITC Indian Tobacco Company,
What is the Maximum Size that an Array can hold?
55 Answers Adobe, FutureSoft, HCL, Infosys, Satyam, TCS, Wipro,
What do you mean by abstraction in C++?
template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }
Can non graphic characters be used and processed in C++?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
Which sort does c++ use?
implement stack using stack.h headerfile functions
1 Answers Exilant, GMG, Subex, University,
How const int *ourpointer differs from int const *ourpointer?
What is a built-in function?
What is problem with overriding functions?
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number?