Code:
#include <stdio.h>
#include <stdlib.h>
//Compiler version gcc 6.3.0
int swaps(int *num1, int *num2);
int main()
{
int card;
printf("How many elements?\n");
scanf("%d", &card);
printf("The length of the array will be %d\n", card);
int numbers[card];
int *num = NULL;
num
Leave a comment: