Microsoft Interview Question for Software Engineer in Tests






Comment hidden because of low score. Click to expand.
0
of 0 vote

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.

- yuan April 01, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Forget half of the things that you know in C++. That makes it C#
God Save C++ :))

- Anonymous April 03, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

*
CATEGORIES
* Computer programming
* C programming
* Hardware
* Java programming
* UNIX shell scripting
* Web application programming
* Windows Monad msh
* Apple Mac
* Database
* Entertainment
* Green computing
* Internet
* Networking
* Technology reviews
* UNIX
* Windows

C++: Differences between C++ and C#
Contributor Icon Contributed by William_Wilson Date Icon February 27, 2006
ShareThis Tag Icon Tagged: Computer programming
Key differences between C# and C++


It was a surprise that there was no thread for C++ recipes. Though C++ and C# are quite similar there are some very key and major differences.
-I find C# resembles the style of java more than that of C++ i many ways.

(I will be following this up with some coding recipes, to hopefully start a C++ reciped thread)

Method/Function Declarations:
C++:
public:
Constructor() { }
void aMemberFunction() { }
void aFunctionDeclaration();
private:
void someOtherFunction() { }
int aVariable;

C#:
private aVariable;
public void aMemberFunction() { }
public void aFunctionDeclaration();
private void someOtherFunction() { }

Class Declaration:
For those who know what a managed class is:
C++:
__gc class A_Class{ };
*NOTE that C++ classes end with a ;

C#:
automatically done so:
class A_Class{ }

Inheritence:
C++:
will allow multiple inheritence. eg. allows a method to be overriden many times in subclasses (derived classes).

C#:
supports inheritence, but not multiple, only 1 override per method/function/

- nd April 04, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

key diff..
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#..

- sd June 18, 2010 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More