Back To C++ Structures
//program to create a structure student with members rollno,name and marks. structure variable is initialized with values (1,abcdef,90) #include
#include
struct student { int rollno; char name[20]; int marks; }; void main() { clrscr(); student s={1,"abcdef",90}; cout<<"\nrollno is "<