1) [5 Points] Why array is useful? Explain with example. Can you mix different data types in one array? 2) [2 Points] Gi
Posted: Tue Jul 12, 2022 8:16 am
1) [5 Points] Why array is useful? Explain with example. Can you mix different data types in one array? 2) [2 Points] Give different ways of array declaration. 3) [2 Points] Show an example of array out of bounds error. 4) [5 Points] Give an example of 2-dimensional and 3-dimensional array. When should you consider creating a 2-dimensional array? 5) [2 Points] When we have to create a user defined function? [5 Points] List 10 different library functions with an example for each one. 7) [2 Points] When declaring array prototype is important? 8) [2 Points] What do you mean by default argument? 9) [5 Points] What do you mean by call by value and call by reference? What is pointer? 10) [10 Points] Give a clear explanation of local and global scoping with examples. Is global scope always preferable? 11) [10 Points] Write a code by following the instructions: - Initialize an integer type 2-D array named matrix having 2 rows and 3 columns. - Then take input from the user to fill the array. - Finally, final the smallest number of the array.