Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
Differentiate between stacks and queues in data structures. Using Linked list implementation of queue, write one C++ program to do the following.
Differentiate between private, public and protected variables. Write detailed notes related to Object-Oriented Concepts on the following:
Write a function Max ( in pseudo-code or any other programming language such as C/C++) that takes as arguments an array A of 30 integers and its size and returns as result the largest element in the
Write down the class 'Reservoir' which implements the interface 'WaterResource' and contains the following:-
Describe the purpose of the keyword 'super' in programs. Describe how it is used in object-oriented programs using appropriate examples.
Write down the class 'Ingredient' to contain the following:- Write down the class 'Vegetable' to contain the following:-
Distinguish between realloc() and malloc() function in C. Write a C program using pointers to read the array of integers and prints its elements in descending order.
Write a C program using pointers to accept two matrices from user and do addition of given matrices. Describe various string library functions used in C with appropriate example.
Write a simple music player with playlist capabilities. You will require to be able to load in “music library” (a song list) of songs on the computer, and then permit the user to create
Encapsulation and inheritance are two major concepts of object oriented programming understanding of encapsulation in the design of classes.
What do you understand by Array of Structures? Describe with suitable example. What is File? Mention any four operations on file by giving proper example. What is Logical File?
Write a detail note on Preprocessor Directives. Write a short note on Command Line Arguments.
Write about templates. Write a C++ template function called exchange () that accepts two arguments of generic type and swaps their content.
Describe about various control structures with appropriate example in C++.
In brief describe the working method of virtual function.
Overload unary minus (-) operator to make data members inside the structure /class negative using structure, using class (member functions), and using class (friend function).
Write a program to count the number of words and lines in a file “poem.txt”. Write a program to count number of spaces, tabs and newline characters in a file“Notes.txt”.
Write a program to implement a static stack and show the push and pop operations on the stack.
Write a program to convert singly linked list into circular linked list. Write a program to create single linked list of integers, where the new node has to be inserted in such a way that the list i
Write a program to implement a circular linked list of integers. Write a program to implement linked stack.
Write a non recursive function to insert the node in AVL tree. Write a non recursive function to delete a node from an AVL tree. Write a recursive function to delete node from the AVL tree.
Write a function to swap a binary tree. Write a function to find out the inorder predecessor of a given node in a binarytree. The inputs to the function are a pointer to the root of the tree and a p
Write a program to print Fibonacci series using recursive function. Write a recursive function to multiply two polynomials.
Write a function to encrypt and decrypt a string using pointers and use your own method of encryption and decryption.
Write a function to find out the product of two matrices. Matrices are passed to the function as argument. Write a function to check the equality of two matrices. Matrices are passed to the function