Create three structures using linked list: Student, University & Branch.
Student structure contains Name, Roll No & Branch ID [in which the student studies], University structure contains University ID & University Name) &
Branch structure contains Branch ID & Branch Name
Implement the following function to :-
Write a program to overload unary operator for complex class. Overload the pre and post decrement operator to work for the statements
C1++;
++C1;
Overload any operator of your choice to find the modulus of a complex number. [ Note: void return type]
Also rewrite this program to overload the operators as friend function.
Write a program to add two objects of time class. Overload the operator ‘==’ to compare two objects and display whether they are equal or not. Also rewrite this program to overload the operators as friend function.
Create a class which allocates the memory for a string through dynamic constructor. Overload
Also rewrite this program to overload the operators as friend function.
Create a class which stores distance in feet and inches. Overload the ++ (post and pre) operator for the class for the statements D2=++D1 and D2=D1++ as member function. Also rewrite this program to overload the operators as friend function.
3x4 sin(180x) + 4x3 cos(90x) + x2 sin(tan(45)) + 7x + 9cos(90x2 )