online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <conio.h> typedef struct date { int day; int mon; int year; } date; typedef struct { int sno; char name[20]; date dob, doj; } employee; int main() { int i, n; employee e[10]; printf("enter the no employees\n"); scanf("%d", &n); printf("enter the details of employee\n"); for (i = 0; i < n; i++) { printf("enter the sno and name of employee\n"); scanf("%d%s%", &e[i].sno, e[i].name); printf("enter the dob of employee\n"); scanf("%d%d%d", &e[i].dob.day, &e[i].dob.mon, &e[i].dob.year); printf("enter the doj of employee\n"); scanf("%d%d%d", &e[i].doj.day, &e[i].doj.mon, &e[i].doj.year); } printf("the details of employee are \n"); for (i = 0; i < n; i++) { printf("\n"); printf("sno-%d\nname-%s\n", e[i].sno, e[i].name); printf("dob-%d%d%d\n", e[i].dob.day, e[i].dob.mon, e[i].dob.year); printf("doj-%d%d%d\n", e[i].doj.day, e[i].doj.mon, e[i].doj.year); } 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