CCS Global Tech interview question

Read a simple C/C++ program