Interview questions

C interview questions – page 58

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

  1. Diff between typedef and #define?

  2. Are you familiar with the term snooping?

  3. What is int (*a)[4]

  4. What are the total number of lines written by you in C/C++? What is the most complicated/valuable program written in C/C++?

  5. What is the difference between C language and C++ language depthly?

  6. How a C program will execute(run) automatically even though you have not runned it?

  7. What is profiling in c or c++?and what is rtdi?is it part of c or c++?

  8. What is cycle stealing?

  9. What is the purpose of the semicolon(;) in languages?

  10. What are the differences between malloc() and calloc()? What are macros? what are its advantages and disadvantages?

  11. In the following declaration, what does x represent?

  12. I am a new programmer in C & can't find <graphics.h> library. can anyone help me with this?

  13. You have to write a program which tell about how many times it has run.

  14. Write a program where you have to enter two numbers in fraction say a/b and c/d and then calculate their sum and display their result in the reduced fraction form.

  15. In what cases do you need to double clock a signal before presenting it to a synchronous state machine?

  16. C++ ( what is virtual function ? what happens if an error occurs in constructor or destructor. Discussion on error handling, templates, unique features of C++. What is different in C++, ( compare with unix).

  17. What are The two tags for framesets

  18. When is a system in safe state?

  19. What is the difference between = and == in C?

  20. How does malloc work?

  21. What r get to property and set to property, can u xplain them

  22. What is the diffrence between c and c++ ?

  23. First round was aptitude and c programmin,then group discussion,video session,technical interview followed by hr.

  24. How to make a singleton class

  25. C/C++: Structures, pointers, linked list, OS.

  26. What is inheritance? Explain briefly

  27. Access specifiers in C++.

  28. Method overloading and method overriding

  29. Why has C failed to develop successfull application software?

  30. A, B, C are in a file and D, E, F are in another file (letters in new lines). Write code in any language to get A, D, B, E, C, F in another file.

Companies that ask C questions