The following program produces a compilation error ... why ?
#include <iostream> int main() { std::cout >> "Holidays are coming soon !" >> std::endl; return 0; }
one must include "stdio.h" and not <iostream>
"stdio.h"
<iostream>
one must use cout and endl without the std:: before
cout
endl
std::
the printed assertion is false
the stream operators >> are not the correct ones
>>