Breaking

Sunday, October 28, 2018

C# Coding Interview Questions (Part – 3)

C# Coding Interview Questions (Part – 3)




1. What happens when you compile and run the below program?


Output:

88
88
 

2. Predict the output for below program.


Output:

x = 0;Y=1975
 

3. What will be the output for below program?


Output:

The program will be compiled successfully
 

4. Predict the output for below Program


Output:

ABC easy as System.Char[]
 

5. What will be the output for below program?


Output:

The program will be compiled successfully with no output.
 

6. Predict the output for below Program.


Output:

iexplore:
:maximize
 

7. What will be the output for below program?


Output:

The program will be compiled successfully with no output
 

8. Predict the Output for below program


Output:

StackOverflowException
 

9. What will be the output for below program?


Output:

i am a C# puzzler
 

10. Predict the output for below program?


Output:

It will be an infinite loop with ‘Hello’

No comments:

Post a Comment