WorksheetsACC Quiz
Total questions: 35
Worksheet time: 21mins
While using encapsulation, which among the following is possible?
Code modification can be additional overhead
Data member’s data type can be changed without changing any other code
Data member’s type can’t be changed, or whole code have to be changed
Member functions can be used to change the data type of data members
Which of the following operation is illegal in structures?
Typecasting of structure
Pointer to a variable of the same structure
Dynamic allocation of memory for structure
All of the mentioned
Which of the following mode argument is used to truncate?
a
f
w
t
As per C language standard, which of the followings is/are not keyword(s)? Pick the best statement.
Auto
make
main
sizeof
elseif
sizeof elseif make
auto make
None
make main elseif
What will be the output of the following Python code?
t=(1,2,4,3)
t[1:-1]
(3,4)
(2,4,3)
(2, 4)
None of these
Which one is the correct description for the variable tree declared below?
int ** tree;
tree is a point to an integer
tree is a pointer to a pointer to an integer
tree is a pointer to a pointer to a pointer to an integer
tree is an array of integer
What is the return value of getc()?
The next character from the stream is not referred by file pointer
<br />EOF for end of file or error
Nothing
None of the mentioned
