Interview questions
C interview questions – page 26
2,130 questions. Tap “Show answer” to check yourself.
-
In C# events are actually a special form of delegates
-
How are the attributes specified in C#
-
When should the volatile modifier be used?
-
Which of these .NET languages has been specefically designed to be used with .NET?
-
If "condition" printf("Hello");else printf("World")what should be the condition,so the output will be HelloWorld.
-
C Program to print the following series:11 21 2 31 2 3 41 2 3 4 5
-
All .NET code have to be CLS compliant
-
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
-
The 'finally' keyword is supported in C#?
-
How do you make CLR enforce overflow checking
-
Are there some features of C# language not supported by .NET?
-
An assembly can be stored across multiple files?
-
Garbage Collector:
-
Can a file other than a .h file be included with #include?
-
To read user input from the console, the following statement is used
-
How to find a given number is armstrong number or not in "c".?
-
We declare an integer variable 'x' in C# as
-
When should the register modifier be used? Does it really help?
-
What is Boxing?
-
What is CLS?
-
The methods which can be called without instantiating an object first are called
-
How can I make sure that my program is the only one accessing a file?
-
The correct syntax for defining a delefate is:
-
What are the standard predefined macros?
-
How can you avoid including a header more than once?
-
Which of the escape sequence is used for Backspace
-
What use of structure and union?
-
WAP find the largest of 4 no using macros
-
Even if an exception hasn?t occurred, the ?finally? block will get executed
-
What happens when a C# project has more than 1 Main methods