Skip to content

Commit

Permalink
Update c++-quiz.md (#6138)
Browse files Browse the repository at this point in the history
Added Q107 -  Which of the following is the correct syntax to print the message in C++ language?

- [ ] Out <<"Hello world!
- [ ] Cout << Hello world! ;
- [x] cout <<"Hello world!";
- [ ] None of the above
  • Loading branch information
ayush-yadavv authored Oct 4, 2023
1 parent a62a166 commit 1459b55
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions c++/c++-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1703,3 +1703,13 @@ int main()
- [ ] A first class derives directly, at the same time, from a second and third class.
- [x] In the same program, at different points, a given class derives individually from more than two different classes.
- [ ] A first classderives from a second class, and that second class is already derived from a thrid class

#### Q107. Which of the following is the correct syntax to print the message in C++ language?

- [ ] Out <<"Hello world!
- [ ] Cout << Hello world! ;
- [x] cout <<"Hello world!";
- [ ] None of the above

[Reference](https://en.cppreference.com/w/cpp/io/cout)

0 comments on commit 1459b55

Please sign in to comment.