Interview questions

C interview questions – page 47

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

  1. Write a program for printing when i press a key next to the letter in the alphabetical order can be printed

  2. Tell me answer for this statementprintf("printf("aim")");

  3. What is smart pointer ?

  4. When I have 6 values for any column, in select statement I get display of 6 rows selected while if I have 5 values for one column i don't get display of 5 rows selected, how to get that display?

  5. Why cannot you specify the accessibility modifier for methods inside the interface?

  6. Can you write a c program without using main function?

  7. Difference between Global variable and Local variable

  8. What is the difference between a string and an array?

  9. How to use the cprintf,cscanf,sscanf,sprintf,vsscanf,vsprintf,vscanf & vprintf?

  10. What is Preprocessor

  11. Why two pointers cannot be added in c language?

  12. Is the c is procedure oriented?

  13. Can we have nested header files in C?

  14. Difference between NULL pointer and NULL macro ?

  15. What are the different qualifiers in C?

  16. Write a C program for to aggregate a 8*8 matrix to 4*4 matrix using formula b11=(a11+a12+a21+a22)?

  17. What is generic pointer

  18. What is Token

  19. Explain about the following:1.problem identification2.task analysis3.data analysis5.decision input & output 6.development algorithm7.program cooling

  20. Have you heard of "mutable" keyword?

  21. What is near pointer

  22. Write a program to accept any number up to six digit and print in words.for ex:1234=one two three four

  23. What is laxical analysis

  24. What is parsing ?

  25. How can C programs run without header files?

  26. How to create relation calculator program using c language

  27. When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

  28. How can we use data connectivity in 'c' language?

  29. What is argument

  30. How can we find out prime numbers from 1 to 50?

Companies that ask C questions