int Add(int x, int y)
{
if (y == 0)
return x;
else
return Add( x ^ y, (x & y) << 1);
}
Month: August 2017
How to enable Bash on Windows 10
- Turn Developer Mode on via Settings > Update & security > For developers
- Click the Start button , click Control Panel, click Programs, and then click Turn Windows features on or off.
- Enable Windows Subsystem for Linux (Beta)
- To get Bash installed, open Command Prompt and type “bash”
That’s it ,now open command prompt and type bash and press enter
Note:Bash feature is available in build 14316 and newer, 64 bit only.