C Program to Read and Print 1-D Array - C Programming Tutorial 77

preview_player
Показать описание
Notes for You:: C Program to Read and Print 1-D Array - C Programming Tutorial 77

Example Code:

#include<stdio.h>
int main()
{
int numbers[5] ={0,0,0,0,0};
int i=0;

printf("Enter 5 integer values:\n");
for(i=0; i<5; i++)
{
scanf("%d",&numbers[i]);
}

printf("Numbers array is:\n");
for(i=0; i<5; i++)
{
printf("%d\n",numbers[i]);
}

return 0;
}

Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.

=========================================

Follow the link for next video:

Follow the link for previous video:

=========================================

C Programming Tutorials Playlist:

=========================================
Watch My Other Useful Tutorials:-

Computer Programming Fundamentals Playlist:-

C Practical LAB Exercises Playlist:-

C++ Tutorials Playlist:

=========================================

► Subscribe to our YouTube channel:

► Visit our Website:

=========================================
Hash Tags:-
#ChidresTechTutorials #CProgramming #CProgrammingTutorial
Рекомендации по теме
Комментарии
Автор

SUBSCRIBE, SHARE & SUPPORT:
VISIT & LEARN AT FREE OF COST:

ChidresTechTutorials