Answer:
The answer to this question can be given as:
code:
class CollegeCourse
{
String Dept;
int CourseNumber;
double Credits;
double fee;
}
Explanation:
We all know that class is a collection of data members and member functions. In the above code we use the following syntax for class declaration that can be given as:
Syntax of class declaration :
class class_name
{
data member & member function
}
In the above code firstly we declare a class that is CollegeCourse. In this class, we define a variable that name and datatype is already given in the question that is String Dept, int CourseNumber, double Credits, double fee. In the variables first variable data type is string. It is used for store string value like ('us','xxx','aaa').The second variable datatype is an integer. It is used for store integer value like (1,23,5,56). The third and fourth variable datatype is the same that is double. This data type is used to store the floating-point value.
Show the picture to answer the question
Answer:
Following are the statement:
counterPointer = &counter;
Explanation:
The following statement is correct because in the question it is given that there is an integer data type variable i.e., "counter" and there is another integer data type pointer variable i.e., "counterPointer" and finally we write a statement in which the pointer variable points to the integer variable.
Answer:
Third generation computer use integrated circuit(IC) and it was fast and reliable.
Forth generation computer micro computer were introduced and they were highly reliable and fast.