online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> int FindFinbonacciValue(int num) { int c = 0; int a = 0, b = 1; //std::cout << "\n" << a << std::endl; //std::cout << b << std::endl; for (int i = 2; i <= 10; i++) { c = a + b; a = b; b = c; //std::cout <<" " << c << std::endl; } return c; } int main() { int num = 10; int res = FindFinbonacciValue(num); std::cout << res; return 0; }

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