cs201-today paper few questoins
These are four questions, 5 marks each.
Today’s CS201 paper was mainly from lectures 10-40. A greater portion was from 15-35. Most of the questions were from pointers, arrays and dynamic memory allocation. Four questions of 5 marks each were,
1- Write statement for constant pointer to integer and also pointer to constant integer.
2- Get input from user for 2 by 4 matrix and display it.
3- For given code of class rectangle, write code for copying constructor.
4- How will you identify if a declared variable if reference of address variable.
Some other questions were,For given code having new operator, write delete.
For given code for converting Celsius to Fahrenheit, write equivalent template.
0 comments
Post a Comment