difference between c and c++?
Answer Posted / mahesh
=>c does not a class/object concept
=>c++ provides data encapsulation,data
abstraction,polymorphism.
=>c++ support all c syntax
=>in c passing value to a function is "call by value"
where c++ its "call by reference"
Is This Answer Correct ? | 173 Yes | 78 No |
Post New Answer View All Answers
What is a virtual destructor? Explain the use of it?
How do I tokenize a string in c++?
Is dev c++ a good compiler?
What is the syntax for a for loop?
Why c++ is better than c language?
What is the best c++ ide?
What is the best book for c++ beginners?
How do you clear a set in c++?
What size is allocated to the union variable?
What is boyce codd normal form in c++?
Tell me an example where stacks are useful?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
What is the purpose of extern storage specifier?
Can we get the value of ios format flags?
Which function cannot be overloaded c++?