The declaration int *a; the statement a = new int[50] dynamically allocates an array of 50 components of the type int.
The declaration: int *p; the statement: p = new int[50] dynamically allocates an array of 50 components of type int, and p contains the base address .A struct is a data type available in C programming languages, such as C, C++, and C#. It is a user-defined data type that can store multiple related items. A struct variable is similar to a database record since it may contain multiple data types related to a single entity.
Structures also called structs) are a way to group several related variables into one place. Each variable in the structure is known as a member of the structure. Unlike an array, a structure can contain many different data types int, float, char, etc.
Learn more about dynamically here
https://brainly.com/question/898716
#SPJ4