Interview questions

C interview questions – page 39

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

  1. How can I get the ASCII code for a character in C#?

  2. What is the difference between near pointer and far pointer?

  3. How to perform matrix multiplication using Double linked lists?

  4. Main(){int i;float *pf;pf = (float *)&i;*pf = 100.00;printf("n %d", i);}

  5. How would you use the functions sin(),pow(),sqrt()?

  6. There is any methodology in which we can print a string in c without using semicolon(;)suggest me if there is ?

  7. How would you use bsearch()function to search a name stored in array of pointers to string?

  8. Can there be at lest some solution to determine the number of arguments passed to a variable argument list function?

  9. Can we include music/song in background while running a program like a game in c++ ?

  10. Can you declare the override method static while the original method is non-static?

  11. How would you use the functions randomize()and random()?

  12. What's the implicit name of the parameter that gets passed into the class' set method?

  13. How do you sort names using circular linked list in c like sorting names after every insertion?

  14. Write down the equivalent pointer expression for reffering the same element a[i][j][k][l]?

  15. Explain about a class in OOP?

  16. WRITE A PROGRAM TO MULTIPLY TWO MATRICES OF ORDER M*N AND N*P RESPECTIVELY.

  17. Why doesn't strcat (string, ?!?); work ?

  18. What is file pointer and its working method?

  19. Explain about message passing in object oriented programming?

  20. Are the variables argc and argv are local to main()?

  21. Write a program with out using main() function?

  22. How to see return value of main function?

  23. What is the difference between#include< >and#include" "

  24. When you inherit a protected class-level variable, who is it available to?

  25. How much memory does a static variable takes?

  26. What is an abstract base class?

  27. Explain about a class?

  28. What is the differece between #define and constant in C?

  29. How can I convert a number to a string?

  30. Does C# support properties of array types?

Companies that ask C questions