TCS TECHNICAL PAPER
TCS TECHNICAL PAPER Q.A pointer variable can be 1. Changed within function. 2. Assigned an integer value. 3. None of these 4. Passed to a function as argument. Correct Op: 4 Q. Which of the following uses structure? 1. Linked Lists 2. Array of structures 3. All of these 4. Binary Tree Correct Op: 3 Q. Strings are character arrays. The last index of it contains the null-terminated character 1. \t 2. \1 3. \0 4. \n Correct Op: 3 Q. Which of the following is a collection of different data types? 1. String 2. Structure 3. Array 4. Files Correct Op: 2 Q. What function should be used to free the memory allocated by calloc() ? 1. free(); 2. malloc(variable_name, 0) 3. dealloc(); 4. memallo...