Interview questions

C interview questions – page 37

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

  1. Can we execute printf statement without using semicolan?

  2. What is storage class and what are storage variable ?

  3. What is RTTI?

  4. X) main(){printf("%x",-1<<4);}

  5. What is difference between void main() and main() and main(void)?

  6. Write a code for implementation of doubly linked list with use of single pointer in each node

  7. What is the difference between new/delete and malloc/free?

  8. Write a Program to convert decimal to binary no.

  9. Main(){signed int bit=512, i=5;for(;i;i--){printf("%dn", bit >> (i - (i -1)));}}

  10. Main(){extern int i;i=20;printf("%d",i);}

  11. Explain about Object oriented programming?

  12. WRITE A 'C' PROGRAM TO READ THE AGE OF 100 PERSONS AND COUNT THE NUMBER OF PERSONS IN THE AGE GROUP 50 TO 60.USE FOR LOOP AND CONTINUE STATEMENTS.

  13. What is difference between static and global static variable?

  14. Define Overloading?

  15. Is there anything you can do in C++ that you cannot do in C ?

  16. What is a local class?

  17. How to print a statement without using printf() in c?

  18. How do I declare inout arguments in C#?

  19. Can there be a mouse click and drag function used in c?

  20. Explain about the Design Phase?

  21. Write Addition of two numbers using Bitwise operators.

  22. Explain the rationale behind Object Oriented concepts?

  23. What would be the output of the following program? main() { const int x=5; int *ptrx; ptrx=&x; *ptrx=10; printf("%d",x); }

  24. Does C# support templates?

  25. Is XML case-sensitive?

  26. How to delete an element in array of string?

  27. Can you use the function fprintf()to display the output on the screen?

  28. Plz tell how can i attach oracle database with c++?

  29. What are the applications and advantages of C-language?

  30. What are the packages in c?

Companies that ask C questions