Ask Question
21 January, 00:00

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. 21 January, 03:30
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers