Uncategorized

An exception handler

10.     Explain how an exception handler is defined and invoked in a program. 11.     List the merits and demerits of defining an exception handler in an object-oriented programming. 12.     Explain the importance of namespace declaration in C++. 13.     What is meant by namespace std? 14.     Explain how a nested namespace is used in C++. 15.     […]

An exception handler Read More »

The syntactic rules

6.     What are the rules to be followed while defining the definition of a function template? 7.     What is a class template? List a few applications of defining a class with a parameterised data type. 8.     Explain the syntactic rules of declaring the following with class templates: (i)     constructor (ii)     destructor (iii)      default constructor 9.    

The syntactic rules Read More »

Template

1.     What will be the output of each of the following program when it is executed. (a) #include using namespace std; template > T sum (T array[3][3], int n) T temp = 0; for (int i =0; i<= n-1;=””> for (int j = 0; j <= n-1;=”” ++j)=”” temp=””> return(temp); int main() int n =

Template Read More »

Sorted order

Write a program in C++ to read a file and to transfer the contents of the file to the printer with the line numbers. For example, 1 this is a test 2 program 3 ——- 4 ——- Write a program in C++ to read students’ record such as name, sex, roll number, height, and weight

Sorted order Read More »

Reservation system

7.     Write a program in C++ using a random access file function to create a data base for a reservation system (bus/railway/air) using the information such as name of the passenger sex age starting place of the journey destination etc. The program should have the following facilities: (i)        to display an entire passenger’s list (ii)      

Reservation system Read More »

Random access file

6.     Write a program in C++ using a random access file function to create a database of the student’s information such as name, roll number, sex, address and the program should have the following facilities: (i)         to list the entire data base (ii)       to display only a particular record (iii)      to update a record (iv)    

Random access file Read More »

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X