length

Run Settings
LanguageC
Language Version
Run Command
#include<stdio.h> int main() { int i,n,count=0,a[100]; printf("Enter nuber: "); scanf("%d",&n); for(i=0; i<n; i++) scanf("%d",&a[i]); // array length for(i=0; i<n; i++) count++; printf("length is %d ",count); } //*int arr[5] = {4, 1, 8, 2, 9}; //* int len = sizeof(arr)/sizeof(arr[0]);
Editor Settings
Theme
Key bindings
Full width
Lines