Answer:
See explanation
Explanation:
Given
The above program that subtracts two numbers and returns the result
Required
Modify the source code to run perfectly
When the given program is tested, it displays
<em>4 minus 10 equals -6
</em>
<em></em>
<em>Which is different from the expected output of</em>
<em>10 minus 4 equals 6
</em>
<em></em>
Modify
<em>solution = minuend-subtrahend
</em>
<em>to</em>
<em>solution = subtrahend - minuend</em>
<em></em>
And that does it.
Im guessing a cell is named by the scientist that found that cell in the fist place.
Answer:
B. How many programming statements the program contains
Explanation:
If a program is intended to be able to process large amounts of data, then the ability of the program to process larger data sets is heavily affected by
- execution time
- size of memory the program requires
- storage space the program requires as it runs.
The length of the statements the program contains does not much affect program performance.
Answer:
void main(){
int *ip1,*ip2,*ip3;
printf("Enter values for ip1 and ip2\n");
scanf("%d\n",ip1);
scanf("%d\n",ip2);
*ip3=*ip1+*ip2;
}
Explanation:
*ip3=*ip1+*ip2;
this statement is used to add the values of two pointer variables and storing it in third pointer variable.
*ip1 --->ip1 gives address location of the variable and *ip1 gives the value stored at that address location