#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#define ARSIZE 1024
int main()
{
char numbers[ARSIZE] = { 0 };
const char *file = "numbers.text";
int i;
long time1, time2, time3;
FILE *iofile;
errno_t err;
for (i = 0; i < ARSIZE; i++)
numbers[i] = i;
if ((err = fopen_s(&iofile,file, "wb")) !=0){
fprintf(stderr, "Could not open %s for output.\n", file);
#include<stdlib.h>
#include<time.h>
#define ARSIZE 1024
int main()
{
char numbers[ARSIZE] = { 0 };
const char *file = "numbers.text";
int i;
long time1, time2, time3;
FILE *iofile;
errno_t err;
for (i = 0; i < ARSIZE; i++)
numbers[i] = i;
if ((err = fopen_s(&iofile,file, "wb")) !=0){
fprintf(stderr, "Could not open %s for output.\n", file);