Interview questions
C interview questions – page 50
2,094 questions. Tap “Show answer” to check yourself.
-
What does the term immutable mean?
-
Polymorphism with an example?
-
What does static void Main(string[] args) in C# mean?
-
Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data;}x;main(){int i;for(x=p;x!=0;)x=x->next,x++;freelist(x);}freelist(x){free(x);return}
-
C# provides a default constructor for me. I write aconstructor that takes a string as a parameter, but want tokeep the no parameter one. How many constructors should I write?
-
Difference between Structure and Class in C++?
-
If a class is a ref type, how we can pass to a function.
-
Int i,string s, String s1 Which is valuetype which isrefrence type.
-
How to make program without <> in library.
-
What is a scope resolution operator?
-
What is a namespace and assembly?
-
What is indexers in C#
-
What is extended method in c#
-
What is Partial class? What purpose we use it?
-
What i oops concept, how many languages supports oops concept?
-
About Virtual functions and their use ?
-
Difference between clanguage and c++
-
How to return morethan one value using out parameter in c#.net ;For Example : public int show(out int []a) { int []a={1,2,3,4,5}; return a[]; }we have to print all the values without using theConsole.WriteLine statement;
-
What is the use of declaring constructor as private?
-
Suppose in a scenario if we want to display information onlyuntil 4.00 p.m and after that means after 4.00 p.m if any one tries to access theinformation it should give error mesage.Then how will you write a delegate for this ? Give coding.
-
What is the size of class
-
What is the difference between arraylist and hash table using a simple program?
-
What is the Difference between Overriding and overloading?
-
How to retrieve binary data from database (using c#.net andsql server/windows application)
-
What's a multicast delegate?
-
Types of Unboxing?
-
What is difference between function overloading and overriding?
-
5.What is the difference btw compilation of C++ and C#?
-
What is difference between #define and const?
-
What are object oriented concepts?