what is the main difference between c and c++?
Answer Posted / bhupendra singh
C follows procedural oriented approach and in procedural
oriented programmers are more focussed on functions rather
than data, how they write the program is more concerned
rather than security. But in object oriented programmer's
have given more priority to data than blocks.
Also procedural oriented terms difficult to understand ,but
object oriented meets real world existing system every thing
is considered as objects. I cannot write a program like
factorial but i can write a class called person...
This is main difference between c and c++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is the advantage of oop over procedural language?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is difference between inheritance and polymorphism?
What is the benefit of oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is polymorphism and example?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Can we have inheritance without polymorphism?
What is abstraction in oops?
Explain the advantages of inheritance.
How is class defined?
What is destructor in oop?
How oops is better than procedural?