Why CodeBlocks(GNU C++) accept cout<"Testing"; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why CodeBlocks(GNU C++) accept cout<"Testing";

I'm writing my program but by mistake i didn't write cout<<"Testing"; and CodeBlocks didn't give any output also no error were shown.

19th May 2018, 2:14 AM
Amit Kumar
Amit Kumar - avatar
2 Answers
+ 1
Can you show the complete code?
19th May 2018, 2:48 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
0
cout/cin are kinda weird sometimes, maybe codeblocks interpreted it as a statement?
19th May 2018, 8:10 AM
hinanawi
hinanawi - avatar