Answers for "* for array in c"

C
5

array loop in c

int i, array[5]= {1, 2, 3, 4, 5};
for(i=0 ; i<5 ; i++)
{
	printf("%d", array[i]) ;
}
Posted by: Guest on July-10-2020
1

c program for array

// Array declaration by specifying size 
int arr1[10]; 
  
// With recent C/C++ versions, we can also 
// declare an array of user specified size 
int n = 10; 
int arr2[n];
Posted by: Guest on March-02-2021

Code answers related to "C"

Browse Popular Code Answers by Language