4
Contributors
6
Replies
35
Views
2 Years
Discussion Span
Last Post by Rafiii
0

cout << thingie is symbolic for "send thingie to cout". cin >> thingie is symbolic for "send something to thingie from cin". The angle brackets denote the direction that data moves.

Whether >> and << are the best symbology for the behavior is up for debate, but it works reasonably well in practice.

0

a function with data type initiated will return a value , in this case , the main function which is

int main()
{
    return 0;
}

will return integer value , zero or true meaning your program execute without problems or errors, if non found after you compile your code.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.