Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

struct c++

//Struct is a compound data type that contains different variables of different types.
struct Student
{
    char stuName[30];
    int stuRollNo;
    int stuAge;
};
Source by beginnersbook.com #
 
PREVIOUS NEXT
Tagged: #struct
ADD COMMENT
Topic
Name
7+6 =