Compiler Explorer


Sample programs:


Output:




Assembly:

Mouse over the underlined source code locations in order to see the link between the generated assembly and the source code