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 

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

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!