GATE Computer Science: Questions 162 - 167 of 913
Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 913 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.
Rs. 450.00 or
Question number: 162
Question number: 163
Question number: 164
The #ifndef directive tests to see whether ________
a variable has been given a value
a class has no variable definitions
a class has been defined
any objects of the class have been instantiated
Question number: 165
Question number: 166
What will the function rewind () do?
Reposition the file pointer to begining of file.
Reposition the file pointer to begining of that line
Reposition the file pointer stream to end of file.
Reposition the file pointer to a character reverse.
Question number: 167
A query is as follows
SELECT DISTINCT LOC_NAME FROM DEPT WHERE DEPT_ID IN (10, 20, 30);
In the above example, departments 10, 20 and 30 are in the city Chicago where as that of 40, 50 and 60 are in St. Louis. How many values of LOC_NAME are returned?
One value of St. Louis
Three values of St. Louis
Three values of Chicago
One value of Chicago