const int SIZE = 10;
int a[SIZE] = {1,2,3,4,5,6,7,8,9,10};
int *p;
int i;
p = a+(SIZE/2);
cout << p << endl;
for(i = 0; i < SIZE/2; i++)
{
Type: Posts; User: Alfort
const int SIZE = 10;
int a[SIZE] = {1,2,3,4,5,6,7,8,9,10};
int *p;
int i;
p = a+(SIZE/2);
cout << p << endl;
for(i = 0; i < SIZE/2; i++)
{
k, i try my best first
Assignment 1: Wind Speed Processor
Specification:
A device that connected to wind station constantly sends data on wind details (like wind speed, day and direction) that is stored in a log file...