Check out example codes for "what are fast input output in c++". It will help you in understanding the concepts better.

Code Example 1

cin.tie(NULL);

Code Example 2

ios_base::sync_with_stdio(false);

Learn ReactJs, React Native from akashmittal.com