[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Program Discussion :: Array

Home > Programs > Array

322 / 30

Write a program to sort an array into two halves, one half ascending and second half descending.

Answer:

#include 

int main(void)
{
   int a[10], i=0, j=0, n, t;

   printf ("\n Enter the no. of elements: ");
   scanf ("%d",

Asked In :: TCS Global Edge

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: