Ask Question
12 June, 09:56

Consider the following statements: struct supplierType { string name; int supplierID; }; struct paintType { supplierType supplier; string color; string paintID; }; paintType paint; What is the data type of paint. supplier?

+2
Answers (1)
  1. 12 June, 10:33
    0
    The answer is "supplierType"

    Explanation:

    Description of the code:

    In the given program two structure is defined, that is "supplierType and paintType", in which "supplierType" structure two-variable name and "supplierID" is defined, that datatype is "String and integer". In the next step, "paintType" is declared, in which "supplierType" object supplier is created, in which two string variable "color and paintID" are defined, in which "supplierType" data type is supplied.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Consider the following statements: struct supplierType { string name; int supplierID; }; struct paintType { supplierType supplier; string ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers