InterviewSolution
Saved Bookmarks
| 1. |
In a C file (say sourcefile1.c), an array is defined as follows. Here, we don’t need to mention array arr size explicitly in [] because the size would be determined by the number of elements used in the initialization.int arr[] = {1,2,3,4,5};In another C file (say sourcefile2.c), the same array is declared for usage as follows:extern int arr[];In sourcefile2.c, we can use sizeof() on arr to find out the actual size of arr.(A) TRUE(B) FALSE |
| Answer» | |