Interview Questions

Difference between c++ and c#

Software QA/Tests Interview Questions from Microsoft


(Continued from previous question...)

Difference between c++ and c#

Question:
Difference between c++ and c#


maybe an answer:


1. c++ allows pointers but C3 doesnot.
2. c++ reference is represented as &a ...in c# ref a.
3. c++ multiple inheritanc is allowed but not in c#
4. c# contains lots of addition keywords like foreach ...etc
5. like java main is wriiten inside a class in c#


maybe an answer2:


C++ is regarded as a mid-level language. This indicates that C++ comprises a combination of both high-level and low-level language features. C# is designed specifically to work with the .Net and is geared to the modern environment of Windows and mouse-controlled user interface, networks and the internet.

(Continued on next question...)

Other Interview Questions