Final Term Paper Spring2011Introduction to ProgrammingQ:1
Write down the types of templates ?Q:2
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 ? (2Marks)
Data encapsulation & data hiding.
Q:8 which one is copy constructor and which one is assignment operator ? Q:9
How we difference b/w reference variable and an address of variable.Q: 10
rewrite this code by using for loop.<><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Q:1
What is conversion constructor ?Q:2
What will be the output of following code if user input a number 123
From past papers Q:3
Write down the meaning of line given below line code where m is an object of class martrix
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
Write the main function which creates two objects of class for int & double types?
Write the output of following program
Q:9 what is meant by life time of a variable what is lifetime of automatic variable ?
Describe the purpose of using break statement in the conditional statement