1 votes 1 votes Let's consider 2 cases Case1 : int A[2][3]; Case 2 : int (*A)[2][3]; Is there any difference between A in Case1 and Case2?if any please explain? sathvikchiramana asked Jul 11, 2018 sathvikchiramana 287 views answer comment Share Follow See 1 comment See all 1 1 comment reply Shaik Masthan commented Jul 12, 2018 reply Follow Share read this for get better understanding https://www.geeksforgeeks.org/complicated-declarations-in-c/ 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Case1 --> A is 2d Array Case2 --> A is a pointer to 2D array of dimension 2 and 3 Thanks Mayankprakash answered Jul 11, 2018 Mayankprakash comment Share Follow See 1 comment See all 1 1 comment reply sathvikchiramana commented Jul 12, 2018 reply Follow Share Thankuu 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes In case 1: A is an 2D array of size 2×3 of integer types. Whereas in case 2: A is an pointer array of size 2×3 to integer value .i.e. A array holds the address of integer. imnitish answered Jul 12, 2018 imnitish comment Share Follow See all 0 reply Please log in or register to add a comment.