Interview questions

C interview questions – page 48

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

  1. Which language is not high-level language?

  2. What is the difference between object and reference?

  3. Data structure: Syntax of single inheritance with example program and explanation

  4. Difference between Static variable and Global variable ?

  5. What is type integration? And what is integer type integration?

  6. Main(){int i=5;printf("%d%d%d%d%d%d",i++,i--,++i,--i,i);}

  7. Write to program to accept any number upto 7 digits and convert this number into words like this e.g.25525 :- twenty five thousands five hundred twenty five.

  8. How to find size of an datatype without using sizeof operator?

  9. How to merge to file in c?

  10. What is a static function?

  11. Why should we assign NULL to the elements (pointer) after freeing them?

  12. Write a program for result management system of a college ?

  13. What is c graphics?

  14. What are the different storage classes in C?

  15. Write the equivalent expression for x%8?

  16. Is **p and &(*p) same?

  17. Will finally block get executed if the exception had not occurred?

  18. A 'C' program to find out the most frequent word in a given input file of text,neglecting the case sensitive condition.

  19. What is block

  20. Is it possible to print graphics output in C?

  21. How to find GCD of four numbers?

  22. Which expression always return true? Which always return false?

  23. Can we add the name as "Mixed Arrays" instead of the name given as "Structures" in c?why the name structure is given?

  24. What does EXIT do?

  25. Give the output of the following programmain(){int ret;ret=fork();ret=fork();ret=fork();ret=fork();if(!ret)printf("sun");elseprintf("solaris");

  26. What is a memory management?

  27. 1.What is RTTI?

  28. Why is it a bad idea to throw your own exceptions?

  29. When static constructor is invoked?

  30. What namespaces are necessary to create a localizedapplication?

Companies that ask C questions