C LANGUAGE INTERVIEW Questions:
- Developer of C programming
language.
- What is compiler? What is
interpreter?
- What are called C tokens?
- What are keywords in c?
- Rules for Identifiers?
- What is variables?
- What are datatypes in C?
- Data type & its range in
tabular form?
- Storage class in c?
- What is macro?
- Constant variable.
- Types of operators in c.
- What is sizeof operator & its
function?
- What is ternary operator.
- Precedence of arithmetic
operator.
- Rules for evolution of
expression.
- Implicit type casting &
Explicit type casting.
- Operator precedence &
associativity.
- Increment & decrement
operator.
- Getchar(), fflush function.
- Characteristic functions.
- Commonly used scanf format.
- Decision making
statement/branching making statement in c.
- What is break,continue &
exit().
- Ternary or conditional operator.
- Goto statement.
- Types of loops in c(explain with
e.g)
- Nested for loop
- Why we should avoid goto
statement(175)
- What is array?
- Types of array
- How to declare 1D & 2D array
- What is row major & column
major?
- What is dynamic array?
- Malloc(),calloc(),realloc(),free()
- What is enum?
- Difference between malloc() &
calloc()
- Characteristic of an array?
- What is character array?
- What is string array?
- Difference between character array & string array
String handling functions.
- Features of string
- What is functions?
- What is iterations?
- What is recursion?
- Difference between iterations
& functions.
- What is pointer?
- How to pass an array to a
function?
- What is array of pointer?
- What is pointer to pointer?
- What is null pointer?
- What is void pointer?
- Advantages of switch case over
ifelse statement.
- Call by value/call by reference.
- What is p processer?
- Different file functions.
- Different file accessing modes.
- Different between array &
link list.
- What are local & global
variables?
- What are volatile variables?
- What is functions prototype?
- Disadvantages of using macro.
- What is structure? What is union?
- Why arithmetic operation cannot
be perform on a void pointer?
- Bitwise operator.
- Write a hello world program
without semicolon.
- Entry control loop/Exit control
loop.
- What flow chart? What is
algorithm?
- What is pseudo code?
- What is call command line
argument?
- Define symbolic constant.
- Purpose of main function.
- Macro/Function(difference).
- Advantages & Disadvantages of
function.
- Difference between array Vs
structure.
- Difference between structure Vs
union.
- Main advantages of pointer.
- Difference between array of
pointer & pointer to an array.
- What is structure pointer?
- Similarity between array &
pointer?
- What is dangling pointer?
- Difference between *ptr++ &
++*ptr.
- Structure Vs class.
- Self-referential structure.
- printf() Vs fprintf()
- Difference between rewind() Vs
fseek()
- What is the difference function
used for file handling?
- What do you mean by structure
programming?
- What is expression?
- What is symbolic constant?
- Actual argument Vs formal
argument.
- Top down approach Vs bottom up
approach.
- What is header file in C?
- What is void in C?
- Difference between exit &
return.
- What is null pointer?
- What is memory leak?
- What is wild pointer?
- What is void pointer?
-