online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> void som2tab(int tab1[], int tab2[], int somme[], int taille){ for (int i=0 ; i<taille ; ++i) somme[i] = tab1[i] + tab2[i]; } void affiche_tab(int n, int t[n]){ for(int i=0; i<n; ++i) printf("%d ",t[i]); puts(""); } int main(void){ int n = 8; int t1[]={2,0,5,9,3,6,8,1}; int t2[]={5,2,8,1,9,3,4,7}; int t3[n]; printf("Somme des deux tableaux de %d éléments :\n", n); printf("t1 : "); affiche_tab(n,t1); printf("t2 : "); affiche_tab(n,t2); som2tab(t1,t2,t3,n); puts("Résultat :"); printf("t3 : "); affiche_tab(n, t3); }

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