Difference Between Array of Pointer and Pointer to of an Array in C

No comments



Array of Pointer V/S Pointer to an Array :



Array of Pointer
Pointer to an Array
1 . Declaration : data_type * array_name [SIZE];
1 . Declaration : data_type (*array_name)[SIZE];
2 . Size represents the number of rows.
2 . Size represents the number of columns.
3 . The space for column may be allotted.
3 . The space for rows may be dynamically allotted.

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀