1. What is the difference between a reference and a pointer?
Allah.... I don't even know what a reference is...
A reference is similar to a pointer, but not the same. A pointer is a
variable that contains the physical memory address of some data. It is a
number, and you can perform mathematical operations on the variable to make
it point to different memory locations. for example, if you have a pointer
to a byte, and add 1 to it, it points to the next physical byte in machine
memory. A reference, on the other hand, is a managed, object-oriented,
type-safe kind of "pointer" which "points" to the location of a class
instance, but can not be changed. It will always point to the class it is
assigned to.
2. What are function pointers?
A function pointer is a pointer that contains the memory address of a
function definition. By invoking the pointer, you invoke the function.
3. What are JOINS?
This is not a C# question (unless you're talking about LINQ, which I doubt
in this case), but a SQL question. A JOIN is a query that fetches results
from a combination of 2 or more database tables into a single tabular set of
results. In LINQ it is much the same, but applied more broadly to any
aggregate type, not confined to database tables.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"weird0" <am********@gmail.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
I heard of two c# interview questions that i still clearly don't know
and havent understood the concept. One reason is also that I havent
worked upon them
1. What is the difference between a reference and a pointer?
Allah.... I don't even know what a reference is...
2. What are function pointers?
3. What are JOINS?
Ok.... Operartor Overloading is easy... and i can make it through
elementary concepts of Operating
System....
Can anyone explain briefly what are these things and refer to some
clearly written and simple links
where I can learn them....... and get my interview done welll.......
One thing more.... there is something what we do to obtain
concurrency..... I studied that in O.S....
Semaphores...... to prevent collisions and deadlock ...... I guess...
Does anyone know what is that ? And refer me some good link to study
this?