Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
#include<stdio.h> #include<stdlib.h> void show(const double a[], unsigned elements); int main() { const unsigned elements=10; const double a[10]={0,1,2,3,4,5,6,7,8,9}; printf("\t\tArrays and Pointers\n\n"); show(a,elements); return 0; } //FUNCTION 1 void show(const double a[], unsigned elements) { unsigned x; printf("\nValues in Array are :\n"); printf("[%u]:",elements); for(x=0; x<elements; ++x) { printf("%d",a[x]); } printf("\n\n\n"); } Output: … |