About 2,810,000 results
Open links in new tab
  1. C program to sort an array using pointers - GeeksforGeeks

    Jul 11, 2025 · Approach: The array can be fetched with the help of pointers with the pointer variable pointing to the base address of the array. Hence in order to sort the array using pointers, we need to …

  2. C Program to Sort an Array in Ascending Order - GeeksforGeeks

    Jul 12, 2025 · Sorting an array in ascending order means arranging the elements in the order from smallest element to largest element. The easiest way to sort an array in C is by using qsort () function.

  3. Array of Pointers in C - GeeksforGeeks

    Jul 23, 2025 · In C, a pointer array is a homogeneous collection of indexed pointer variables that are references to a memory location. It is generally used in C Programming when we want to point at …

  4. C program to sort array in ascending or descending order using pointer

    Sep 2, 2021 · In this C programming tutorial, we will learn how to sort elements of an array in ascending or descending order using C pointer. The program will take the array inputs from the user and sort …

  5. C Program For Bubble Sort - GeeksforGeeks

    Dec 12, 2025 · The bubble sort algorithm may perform all (n-1) passes even if the array is already sorted. Using a swapped flag in the inner loop allows the algorithm to detect if any swaps occurred, …

  6. C Program to Sort an Array Using Pointers - rameshfadatare.com

    Sep 2, 2024 · This C program demonstrates how to sort an array using pointers. It covers basic concepts such as pointer manipulation, array traversal, and sorting algorithms, making it a useful …

  7. C Program to Access Array Elements Using Pointer

    In this example, you will learn to access elements of an array using a pointer.

  8. Quick Sort in C - GeeksforGeeks

    Jul 23, 2025 · The sub-arrays are then sorted recursively. This process of partitioning and sorting continues until the entire array is sorted. QuickSort using C Library C language provides a library …

  9. C Program to Sort List of Array Elements Using Function & Pointer

    Program description:- C Program to Sort the List of Array Elements Using Function and Pointer.

  10. Using Pointers Sort Array - EasyCodeBook.com

    Dec 9, 2022 · Using Pointers Sort Array - Write a program in C Programming Language To input array of N numbers and Sort it in Ascending Order.