1. which one is not a correct variable type in c++?
a) float b) real c) int d) double
2. which operator is used logical 'AND'
a) & b) II c) && d) +
3. which function is used to allocate space for array in memory?
a) malloc() b) realloc() c) alloc() d) calloc()
4. a class whose object cannot be created is known as:
a) absured class b) dead class c) super class d) abstract class
5. in c++, members of a class are........by default.
a) public b) private c) protected d) static
6. choose the correct option for string *X,Y:-
a) x is a pointer to string, y is a string.
b) y is a pointer to string, x is a string.
c) both x and y are pointer to string types
d) none of these
Answers
Answered by
7
Answer:
the answer is from the above options
Answered by
1
Explanation:
1. which one is not a correct variable type in c++?
answer : option (b)
Real
2. which operator is used logical 'AND'
answer : option (c)
&&
3. which function is used to allocate space for array in memory?
answer : option (d)
calloc()
4. a class whose object cannot be created is known as:
answer: option (d)
abstract class
5. in c++, members of a class are........by default.
answer: option (b)
private
6. choose the correct option for string *X,Y:-
answer: option (a)
x is a pointer to string, y is a string
#Learn more :
https://brainly.in/question/3904662
Similar questions
Math,
5 months ago
Computer Science,
10 months ago
Math,
10 months ago
Geography,
1 year ago
Art,
1 year ago