Yes this is possible. However, if you are specifying it as a static size, you may as well do int m[10]
in your declaration.
More Related Contents:
- Access element of array of pointer of structure
- Explanation of output of this C code
- whats the difference between dynamic memory allocation and normal memory allocation?
- Getting an error while running following code
- Finding target sum of two numbers in array
- Correctly allocating multi-dimensional arrays
- Why isn’t the size of an array parameter the same as within main?
- C sizeof a passed array [duplicate]
- How do I create an array of strings in C?
- How to pass a 2D array by pointer in C?
- Array-size macro that rejects pointers
- How to initialize array to 0 in C?
- Freaky way of allocating two-dimensional array?
- c structure array initializing
- Why am I being allowed to use a const qualified variable as an array size in C?
- Pointer vs array in C, non-trivial difference
- Using Dynamic Memory allocation for arrays
- Array type char[] is not assignable [duplicate]
- Removing elements from an array in C
- Accesing a 2D array using a single pointer
- Why does “memset(arr, -1, sizeof(arr)/sizeof(int))” not clear an integer array to -1?
- variably modified array at file scope in C
- Hex to char array in C
- Array of variable length in a structure
- C array declaration and assignment?
- C difference between *[] and **
- Find size of array without using sizeof
- How can I malloc a struct array inside a function? Code works otherwise
- problems with char array = char array
- C pointer notation compared to array notation: When passing to function