Why this:
fprintf(stdout, "\t%d\t%d\n", unsorted[i], sortedArray[i]);
Why use fprintf and stdout instead of just a normal printf("%d %d", unsorted[i], sortedArray[i]);
Type: Posts; User: Cameron Taylor
Why this:
fprintf(stdout, "\t%d\t%d\n", unsorted[i], sortedArray[i]);
Why use fprintf and stdout instead of just a normal printf("%d %d", unsorted[i], sortedArray[i]);
//Cameron Taylor
#include <stdio.h>
#define MAXARRAY 10
void print(int[], int[], int);
void highLow(int[], int[], int);
void print(int unsorted[], int sortedArray[], int sz){
lol forgot the "int"...
Ok, I hope this is sort of what you were looking for:
//Cameron Taylor
#include <stdio.h>
#define MAXARRAY 10
void print(int[], int[], int);
Hello again!
Having trouble with homework involving (title). Here is the assignment:
So, I have to use separate functions for each of these. I would think it would be easiest to do the...