C Program to Find 2 Elements in the Array such that Difference between them is Largest

This C Program checks 2 elements in the array such that difference between them is largest. This program finds maximum differnce between the 2 array elements.

Here is source code of the C Program to find 2 elements in the array such that difference between them is largest.. The C program is successfully compiled and run on a Linux system. The program output is also shown below.

/*

* C Program to Find 2 Elements in the Array such that Difference between them is Largest