Program in C language Write and execute the following code to create a 1-dimensional int array. #include int main() { int arr[]={10,20,30,40,50}; int n; n=sizeof(arr)/sizeof(int); printf("Number of...




Program in C language


Write and execute the following code to create a 1-dimensional int array.





#include


int main()


{


int arr[]={10,20,30,40,50};


               int n;



               n=sizeof(arr)/sizeof(int);



               printf("Number of elemenets are: %d\n",n);



               return 0;


}



Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here