Which assignment is not valid for integer arrays in c programming?(arr,arr 1 and arr2 are integer arràys)
A)arr[4]={1,2.5,3,4};
B)arr[]={1,2,3,4}
C)arr 1=arr 2
D)all àre valid assignment
Answers
Answered by
4
Explanation:
Which assignment is not valid for integer arrays in c programming?(arr,arr 1 and arr2 are integer arràys) A)arr[4]={1,2.5,3,4}; B)arr[]={1,2,3,4} C)arr 1=arr 2.
Answered by
2
Answer:
Option C
Explanation:
Among the various options given the third option is the correct one.
we cannot directly assign or equate one array with another. Nor it is known that the lengths of arr1 is equal to that of arr2
Array
Collection of multiple entries against a same data type. Used when we have a large number of data linked with one same type
Similar questions