Interview questions
C interview questions – page 30
2,130 questions. Tap “Show answer” to check yourself.
-
NET offers the follwing security features:
-
The field variables in a class or a struct in C# are by default given a value of zero
-
What is a pragma?
-
A local C# variable declared in the for loop is in scope in
-
There must be at least the following function in a C# program
-
To change the value of a variable while debugging , the following window is used
-
Each process in a 32 bit Windows environment has the following amount of virtual memory available:
-
Can we use pointers in C#?
-
If we develop a project in C, then how can we create an exe file of it?
-
What is the benefit of using an enum rather than a #define constant?
-
All the .NET languages have the following in common
-
Which of the following is an explusive feature of C#?
-
ASP.NET web pages can be programmed in C#?
-
Events in C# are impltemented using:
-
Which tool is used to browse the classes, structs, interfaces etc. in the BCL?
-
We need to register a private assembly in the Windows registry in order to use it.
-
If we need to compare X to a value 3 how do we do it in C#
-
Can you add pointers together? Why would you?
-
Can include files be nested?
-
What is true about readonly variable in C# code?
-
How reliable are floating-point comparisons?
-
What is a macro, and how do you use it?
-
What is the difference between const and static read-only?
-
Which operator is used for TypeCasting
-
How can I sort things that are too large to bring into memory?
-
To access attributes, the following is used:
-
You can explicitly call the garbage collector
-
A class type in C# is a value type
-
Which of the following is wrong with regards to Out keyword
-
Can you define which header file to include at compile time?