C program to print the length of a given array without using sizeof
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out Length of a given array is 5 kodingwindow@kw:~$
Advertisement
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out Length of a given array is 5 kodingwindow@kw:~$