C Program To Display Elements of Array In Reverse Order using Pointers

preview_player
Показать описание

Write a c program to display/print elements of an array in reverse order, using pointers.

Pointer Variable: Pointer variable is a variable which holds the address of another variable of same type.

Example: Expected Output
Enter 5 integer numbers
1
2
3
4
5

Elements of array in reverse order …
5
4
3
2
1

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert

Join this channel to get access to perks:
Комментарии
Автор

simple and clear explanation .thanks a million

walidoulondon
Автор

through this tutorial I understood two thing, the way how to reverse the elements of array and what the pointers do. Thank you

naboulsikhalid
Автор

bhai loop ko to change kro last wale me reverse leke jao (i=n-1 ; i>=0 ; i--) use this in second loop

priyankanegi