Interview questions

C interview questions – page 28

2,130 questions. Tap “Show answer” to check yourself.

  1. Unsafe code in C# can be written in the flowing block:

  2. What is CTS?

  3. How do we get Square root of any number Without using sqrt() function?

  4. Reference types are stored in :

  5. How are portions of a program disabled in demo versions?

  6. What does Main method returns in C#

  7. How do you redirect a standard stream?

  8. The program that outputs the given binary or image file

  9. A code block in C# is enclosed between

  10. Array declaration in C# is done with __________?

  11. What will the preprocessor do for a program?

  12. We can call COM objects in C# using :

  13. How to get the capacity of an array in C#

  14. What is JIT?

  15. Difference between shadow and override?

  16. Following are the collections in C#:

  17. Why do we need to test weather it is memory leak or not?How are we going to know that?

  18. Value Types are stored on the heap

  19. The condition for If statement in C# is enclosed with in _________?

  20. What is the difference between goto and longjmp() and setjmp()?

  21. Is it acceptable to declare/define a variable in a C header?

  22. C# collection allows accessing an element using a unique key?

  23. Fibbonaci series program

  24. Which of the member is not a member of Object

  25. The base class Arrray belongs to the namespace?

  26. How do you determine whether to use a stream function or a low-level function?

  27. A struct is a

  28. Any process can be divided into multiple

  29. The following is a correct call to the Main() function

  30. IF a namespace isn't supplied, which namespace does a class belong to

Companies that ask C questions