C# Coding Interview Questions (Part – 4)

C# Coding Interview Questions (Part – 4)

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


Output:

73
 

2. Predict the output for below program.


Output:

6 16
 

3. What will be the output for below program?


Output:

Hello World !!
 

4. Predict the output for below Program


Output:

The program will be compiled successfully with no output
 

5. What will be the output for below program?


Output:

Unequal
Unequal
 

6. Predict the output for below Program.


Output:

This will give a compile time error
 

7. What will be the output for below program?


Output:

True
 

8. Predict the Output for below program


Output:

Ha
169
 

9. What will be the output for below program?


Output:

double array
 

10. Predict the output for below program?


Output:

Welcome to Viastudy!!

Post a Comment

0 Comments