Which of the following cannot be a structure member?
A)another structure
b)function
c)array
d)none of the above
Answers
Answered by
8
option a) another structure
Answered by
1
Option(b) is the correct answer here. The structure can't have a function as its member.
- Different data types of data are grouped together forming a structure.
- It can contain text data, numerical data, floating numbers, etc.
- The structure is a data type that is created by the user.
- Functions are the code group to do a particular work.
- Those functions can't be declared inside the structure.
- Option(b) function is right.
Similar questions