You could expect questions on TCS interviews asking you to pick and explain a right answer based on the choices presented before you. These types of questions are not only limited to TCS but can be expected on several other companies placements/interviews as well.
Which of the C variable qualifiers amongst const and Volatile provides more data safety ? Explain the reason.
const is the qualifier that provides more data security by throwing error when an accidental attempt is made to modify the same.
Which is more memory efficient in generic sense - Arrays or Linked Lists ?
Actually, there is no significant difference in memory requirement for arrays and linked lists as both increase with increase in data. (However, linked lists are generally easier to work with dynamic data)
Among function declaration and function definition which of the following gives first hand information to the compiler about its return data type and arguments.
Function declaration is the answer, as it precedes function definition. With function declaration, the compiler can get to know about its return data type, the number and type of the arguments etc.