Arrays - One Dimensional
|
Arrays have 2 basic operations i.e. extraction and storing values.
|
C Language Code: |
ARRAY1D.H |
#include "assert.h" intarr *makearray(int n) void input(intarr *a1,int val, int pos) int get(intarr *a1,int pos) void printarray(intarr *a1,int posupto) //DISPLAYS THE ARRAY BEFORE SORTING printf("\n"); void sortarray(intarr *a1) for(i=0;i<a1->size-1;+i++) } |
ARRAY1D.CPP |
#include <stdio.h> void main() sortarray(a1) ; |
We are trying to contribute to the net what ever Technical knowledge. I Believe that knowledge increases by spreading and sharing with others.
Tuesday, January 30, 2024
Arrays - One Dimensional - DSTC using C Language (Source Code Implemented)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment