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

2167 days 17 hours 34 minutes ago

Nikhil Kumar Mahto

we can't overload size of operator its wrong answer

4017 days 19 hours 22 minutes ago

sauabh

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

4413 days 10 hours 8 minutes ago

Neetesh

please tell me how we can overloaded size of operator

4484 days 22 hours ago

harshad

nice

4523 days 5 hours 42 minutes ago

Yuvaraj

We can not oveload the sizeof operator

4598 days 14 hours 48 minutes ago

yadhu

i think we cannot overload sizeof operator in c++

4602 days 17 hours 12 minutes ago

yadhu

i think sizeoff operator cannot be overloaded

4602 days 17 hours 14 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