Should the this pointer can be used in the constructor?
No Answer is Posted For this Question
Be the First to Post Answer
Are there any new intrinsic (built-in) data types?
What is basic if statement syntax?
What are the stages in the development cycle?
What is & in c++ function?
What does the ios::ate argument do?
What is the main use of c++?
Can c++ be faster than c?
What are smart pointers?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
What is the difference between a "copy constructor" and an "assignment operator" in C++?
What are different types of typecasting supported by C++
Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all in one line (b) in three lines Q2 Write a program that asks interactively the user’s name and age and responds with Hello name, next year you will be next_age. where next_age is age + 1 Q3 For the different values of n, what is the output? printf(“%x %c %o %d”,n,n,n,n); (a) n = 67 (b) n = 20 (c) n = 128 (d) n = 255 (e) n = 100 Q4 What will be the output of the following program? int main() { char a,b,c; scanf(“%c %c %c”,&a,&b,&c); printf(“a=%c b=%c c=%c”,a,b,c); return 0; } [Note: The user input is:ABC DEF GHI]