logo codesdope

The output is 10. How is it possible?

   Saikat

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


Answers

  •    Aakhya Singh

    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.



Write your answer
Close

Welcome.please sign up.

Close

Welcome.please login.