Answer:Following is the C program:-
#include <stdio.h>
int fun()//function fun of return type int and it returns value 6.
{
return 6;
}
int main() {
int a, b;
a = 10;
b = a + fun();//adds 6 to a.
printf("With the function call on the right, ");
printf("\n%d ",b);//printing b..
return 0;
}
Output:-
With the function call on the right,
16
Explanation:
The function fun return the value 6 so it adds 6 to a and stores the result in b.
Press sign up and put your information in there. Then it should automatically make your profile.
Answer:
ip = enrollment + section;
Explanation:
The variable ip has been declared to be a pointer to int.
int * ip;
The variable enrollment has been declared as an array of 20 elements .
int enrollment[20];
The variable section has been declared as an int.
int section;
In order to make ip point to the element in the array indexed by section, we can use the following statement :
ip = enrollment + section;
This will make ip point to enrollment[section].
Answer:
Virus is a type of malware which is used in this case.
Explanation: