C Strut and Pointer
1.What is Strut in C? -Struct in C is used to visualize the object with attributes. -For example, we can have the object “dog” with attributes as name, breed, age, color. Then, we should declare the dog in struct type as: struct dog { char name[10]; char breed[10]; int age; char color[10]; }; -Here, we…