C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion. While a static type system prevents unintended operations.
Is C language still important in 2023? The answer is YES! interviewers still asks questions about C programming during interview sessions.
Here are some of the questions which are asked during interview:
1-Which of the following statements should be used to obtain a
remainder after dividing 3.14 by 2.1 ?
2-What are the types of linkages?
3-Which of the following special symbol allowed in a variable
name?
4-Is there any difference between following declarations?
1 : extern int fun(); 2 : int fun();
5-How would you round off a value from 1.66 to 2.0?
6-By default a real number is treated as a?
7-Is the following statement a declaration or definition?
extern int i;
8-Identify which of the following are declarations
(1) extern int x; (2) float square ( float x ) { ... }
(3) double pow(double, double);
9-Property which allows to produce different executable for
different platforms in C is called?
10-#include is called
For more detailed questions and answers see full page at C Programming Language
Top comments (0)