How to Reassign Values to an Array in C Language
It is not possible to directly assign values to an array name.In C language, when we declare and define (after initialization) an array, if we want to reassign values directly to the array, the C compiler may prompt:assignment to expression with array type.For example, the following code: #include <stdio.h> int main(){ int a[] = {1,2}; … Read more