What are the static members and static member functions?
A static member function can only access static data member, other static member functions and any other functions from outside the class. Static member functions have a class scope and they do not have access to the this pointer of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it possible to get the source code back from binary file?
Write a function which takes a character array as input and reverses it in place.
2 Answers Lehman Brothers, Vision Infotech,
How does the copy constructor differ from the assignment operator (=)?
Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.
What is the difference between c++ and turbo 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]
What are the advantages of using typedef in a program?
What's the order in which the objects in an array are destructed?
What do you mean by abstraction. Explain your answer?
What is rtti in c++?
What is a type library?
What do you mean by Stack unwinding?