Question: 3 A. If array1 and array2 are declared as follows: char array1 [12], array2 [12] ; and array 1 has been initialized. What is
3 A. If array1 and array2 are declared as follows: char array1 [12], array2 [12] ; and array 1 has been initialized. What is the effect of the following statement? array1 = array2; B. Write a C program to accept the path to a folder as a string. The program must display the folder hierarchy as shown in the example. Input: Enter a path: /usr/local/sbin Output: *usr **local ***sbin
Step by Step Solution
There are 3 Steps involved in it
The image shows a question in two parts labeled A and B A asks about the effect of the C statement a... View full answer
Get step-by-step solutions from verified subject matter experts
