Write a C program to print your name, date of birth, mobile numbers and university’s name on separate line.
Submit a Report "the impact of improving debugging skill on programming ability"
What is an array of pointers? Is it possible to have negative index in an array? Why is it necessary to give the size of an array in an array declaration?
What is a data type? Differentiate between array and pointer. Write a program to interchange 2 variables without using the third one.
What is a token? Differentiate between a for loop and a while loop? What are it uses?
What do you mean by Program? Briefly describe the basic structure of C programs.
Create a class Data with data members: height and breadth of object given by the user and member functions get_data() to read the values and put_data() to display the values. Create another class Rectangle that inherits class Data and implement its methods area Rectangle() and perimeter Rectangle() that computes the area and perimeter of a rectangle. Create another class Triangle that inherits class Data and implement its methods area Triangle() and perimeter Triangle() that computes the area and perimeter of a triangle.
Overload the function find_perimeter() with one, two and three float parameters.
The function with one parameter is used to return the perimeter of the circle. The function with two parameters is used to return the perimeter of the rectangle. The function with three parameters is used to return the perimeter of the triangle. Write the necessary C++ program to test the functionality of above functions.
Write a program using friend function to swap the private data of two classes assuming each class to contain one private integer data member and associated member functions for inputting and displaying the data.
Write a C ++ program to sort given names in alphabetical order