⟩ Write a short code using C++ to print out all odd number from 1 to 100 using a for loop?
for( unsigned int i = 1; i < = 100; i++ )
if( i & 0x00000001 )
cout << i << ",";
for( unsigned int i = 1; i < = 100; i++ )
if( i & 0x00000001 )
cout << i << ",";
What is the importance of mutable keyword?
Explain access specifier private?
Explain classes and structure?
Explain Structure in C++?
What is Private Inheritance?
What is Public Inheritance?
Can you please explain the difference between struct and class in terms of Access Modifier?
Explain Class in C++?
Explain different access specifiers for the class member in C++?
Do you know what is the default access level?