What is structure in C++

In C++, a structure (struct) is a user-defined data type that allows you to combine data items of different kinds. Structures are used to represent a record. Suppose you want to keep track of your books in a library. You might want to track the following attributes about each book: title, author, and ISBN. Let’s…

C++: First Program

Here is the first program that I have wrote . #include<iostream> int main() { int age; std::cout<<“What is your age”; std::cin>>age; std::cout << “Your age is “<< age; return 0; } <iostream> is the input output library ,without which we can not do input and output operation in the c++; #include is a processor directive…