online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
# Strings have been used in previous sections # A string could be a word or phrase, separate from numbers or other variables # A string is created by placing quotes around the variable term intro = "Hello, world!" print(intro) # Strings can be added together much like numbers, but not subtracted, divided, multiplied # This is called concatenating strings first = "This is an " second = "example of concatenation" print(first + second) # To concatenate a number, it must first be changed into a string sentence = "The number of students in class is" students = 15 print(sentence , str(students)) # Below, create a string and a number, and print them out together using concatenation and string conversion

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue