- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 0124-2383121
Course Introduction
Includes
Certificate & Practice Material
Programs for practice
In the program below, we've introduced beginers to programming in C
Source Code: Program to print an array using function
# Program to print an array using function in C #include<stdio.h> void print(int A[5]) { int i; for(i=0;i<5;i++) printf("%d",A[i]); } void main() { int B[5],i; cout<<"Enter values of Array"; for(i=0;i<5;i++) scanf("%d",&B[i]); print(B); }Output
Run the program to see the OUTPUT