Close
Close

The output is 10. How is it possible?

   Saikat

#include <iostream>
int main()
{
	int n;
	std::cin >> n;
	std::cout << n;
	return 0;
}


Answers

  •   

    In your code, std::cin is used to take user input for the variable n. So whatever input you will provide, it will be assigned to n.



Ask Yours
Post Yours
Write your answer