At What point should you understand pointers?
Posted
by Vaccano
on Stack Overflow
See other posts from Stack Overflow
or by Vaccano
Published on 2010-05-06T22:56:39Z
Indexed on
2010/05/06
23:08 UTC
Read the original article
Hit count: 142
I asked a question like this in an interview for a entry level programmer:
var instance1 = new myObject{Value = "hello"}
var instance2 = instance1;
instance1.Value = "bye";
Console.WriteLine(instance1.Value);
Console.WriteLine(instance2.Value);
The applicant responded with "hello", "bye" as the output.
Some of my co-workers said that pointers are not that important anymore or that this question is not a real judge of ability.
Are they right?
© Stack Overflow or respective owner