(Solved): Q: WAP in c languag&…..

QUESTION

Question

WAP in c language  using recursive function function to find the largest and smallest number of an array given by user.(use user pointers to return two values).

ANSWERS:

Step 1

PROGRAM CODE:

#include <stdio.h>             // include header file for standard input output 

int max, min;                     // declare the required global variables
 
void func(int arr[], int len, int

Leave a Comment

Your email address will not be published. Required fields are marked *