Is there anything you can do in C++ that you cannot do in C?



Is there anything you can do in C++ that you cannot do in C?..

Answer / neelam saini

No. There is nothing you can do in C++ that you cannot do in C. After all you can write a C++ compiler in C.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Is c++ a software?

0 Answers  


What is an operator in c++?

0 Answers  


What are 2 ways of exporting a function from a dll?

0 Answers  


How is data hiding achieved in c++?

0 Answers  


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

0 Answers  






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.

0 Answers  


Explain the extern storage classes in c++.

0 Answers  


What do you mean by translation unit in c++?

1 Answers  


What is the difference between "overloading" and "overridding"?

3 Answers  


What is a node class in c++?

0 Answers  


What is struct c++?

0 Answers  


What is a try block?

0 Answers  


Categories