07-17-2011, 06:59 PM
Q:1
Write down the types of templates ?
Q:2
Const int*ptr=&x;
Explain this statement?
Q: 3
Write the output of the given function
Q:4
If we want to send the data by reference and don’t want the original data to be affected?
Q:5
Write the operator function in stream >> extraction . of the following code.
Q:6
What is shallow copy ?---------------------(2)
Q:7-------------------------------------(3)
Data encapsulation & data hiding.
Q:8 which one is copy constructor and which one is assignment operator ?
Past papers men se h
Q:9----------------------------marks(5)
How we difference b/w reference variable and an address of variable.
Q: 10--------------------------------------------marks(5)
Int number=1;
While(true)
{
Coutnumber;
If(number==3)
Break;
Number+=vaule;
}
rewrite this code by using for loop.
My friendzzz paper……………..
Q:1
What is conversion constructor ?
Q:2
What will be the output of following code if user input a number 123
Int input;
Cin>>oct>>input;
Couthexinput;
From past papers
Q:3
Write down the meaning of line given below line code where m is an object of class martrix
If(&m!=this)
Q:4
Difference b/w switch statement & if statement ?
Q:5
Write down the general syntax for operator function ?
Q:6
What one (copy constructor or assignment operator ) will be called in each following code segment ?
Q:7
See the following code segment
Template <class T>
Class myclass
{
Private :
Tx;
Public
Myclass(ta)
{
X=a;
};
Write the main function which creates two objects of class for int & double types?
Q:8
Write the output of following program
Q:9 what is meant by life time of a variable what is lifetime of automatic variable ?
Q:10
Describe the purpose of using break statement in the conditional statement
Write down the types of templates ?
Q:2
Const int*ptr=&x;
Explain this statement?
Q: 3
Write the output of the given function
Q:4
If we want to send the data by reference and don’t want the original data to be affected?
Q:5
Write the operator function in stream >> extraction . of the following code.
Q:6
What is shallow copy ?---------------------(2)
Q:7-------------------------------------(3)
Data encapsulation & data hiding.
Q:8 which one is copy constructor and which one is assignment operator ?
Past papers men se h
Q:9----------------------------marks(5)
How we difference b/w reference variable and an address of variable.
Q: 10--------------------------------------------marks(5)
Int number=1;
While(true)
{
Coutnumber;
If(number==3)
Break;
Number+=vaule;
}
rewrite this code by using for loop.
My friendzzz paper……………..
Q:1
What is conversion constructor ?
Q:2
What will be the output of following code if user input a number 123
Int input;
Cin>>oct>>input;
Couthexinput;
From past papers
Q:3
Write down the meaning of line given below line code where m is an object of class martrix
If(&m!=this)
Q:4
Difference b/w switch statement & if statement ?
Q:5
Write down the general syntax for operator function ?
Q:6
What one (copy constructor or assignment operator ) will be called in each following code segment ?
Q:7
See the following code segment
Template <class T>
Class myclass
{
Private :
Tx;
Public
Myclass(ta)
{
X=a;
};
Write the main function which creates two objects of class for int & double types?
Q:8
Write the output of following program
Q:9 what is meant by life time of a variable what is lifetime of automatic variable ?
Q:10
Describe the purpose of using break statement in the conditional statement
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
