Question: I need to initialize the array to a size of 10 instead of asing for user input. How would I do so? #include int main()

I need to initialize the array to a size of 10 instead of asing for user input. How would I do so?

#include

int main() { // asking the size of array from user int count; printf("Enter the size of the array: "); scanf("%d", &count); printf(" "); int arr[count], i; printf("Enter %d numbers seperated by space: ", count); // taking input of array values from user for(i=0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!