basic C++ fundamentals Online Test

what is the size of empty class
1Byte
0byte
unknown
what is the size of double in a 32 bit compiler
2byte
8 byte
4 byte
we can overload the sizeof operator in c++
true
false
in inheritance we use:
has a relationship
is a relationship
in C++ the protected access specifier is needed only when inheritance is involved :
true
false
The union enables the same piece of memory to be defined as two or more different types of variables.
true
false




















Description:

this test consists question regarding basic C++ concepts

Tags:

C++  programming

Discussion

Umam

Fe + uap air panas (stoom) akan menghasilkan H2 (pembuatan H2 secara teknik).
Reaksi :
• Bereaksi dengan semua asam.
Reaksi :
http://goo.gl/uTL5Cu http://bit.ly/2bz1A6v

1966 days 9 hours 47 minutes ago

Nikhil Kumar Mahto

we can't overload size of operator its wrong answer

3816 days 11 hours 34 minutes ago

sauabh

U have written "In C the protected access specifier is needed only when inheritance is involved". Explain How?

4212 days 2 hours 20 minutes ago

Neetesh

please tell me how we can overloaded size of operator

4283 days 14 hours 12 minutes ago

harshad

nice

4321 days 21 hours 55 minutes ago

Yuvaraj

We can not oveload the sizeof operator

4397 days 7 hours 1 minutes ago

yadhu

i think we cannot overload sizeof operator in c++

4401 days 9 hours 25 minutes ago

yadhu

i think sizeoff operator cannot be overloaded

4401 days 9 hours 26 minutes ago

41 Followers
Tests: 4

Your Facebook Friends on WizIQ

More Tests By Author

Latest General Knowledge for Bank PO
6 Questions | 3197 Attempts

Bank PO Quantitive apptitude
6 Questions | 1869 Attempts

Basic Electronics fundamentals
6 Questions | 8183 Attempts