Ask Question

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?

+5
Answers (1)
  1. 6 June, 16:44
    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?
Find an answer to your question 👍 “Consider the following statements: struct supplierType { string name; int supplierID; }; struct paintType { supplierType supplier; string ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers