Question: Given the program below, replace the [pointerSymbol] in the 10 instances with one of the following terms: '&', '*, or 'none'. (The last [pointerSymbol10]
Given the program below, replace the [pointerSymbol] in the 10 instances with one of the following terms: '&', '*, or 'none'. (The last [pointerSymbol10] is equivalent to 'none'). #include #include void main() { int i, num; float [pointerSymboll]data; printf("Enter total number of elements (1 to 100):"); scanf("%d", [pointerSymbol2]num); data = (float[pointerSymbo13])calloc(num, sizeof(float)); if( [pointer-Symbol4] data=NULL){ printf("Error!!! memory not allocated."); exit(0); } printf(" "); for(i=0; i
Step by Step Solution
There are 3 Steps involved in it
Here are the replacem... View full answer
Get step-by-step solutions from verified subject matter experts
