online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <conio.h> #include <stdio.h> #include <string.h> int main() { //Different ways of declaring structure variable struct info { int sno; char name[20]; char add[20]; } s1, s2; //Different ways of initialising structure varibles struct info stu1 = {1, "ajay", "dehradun"}; struct info stu2, stu3; stu2.sno = 2; //stu2.name="rashmi";//wrong strcpy(stu2.name, "rashmi"); strcpy(stu2.add, "delhi"); printf("enter the sno,name and add of third student\n"); scanf("%d%s%s", &stu3.sno, stu3.name, stu3.add); printf("\ndetails of students are\n"); printf("\ndetails of 1st stu->%d\t%s\t%s", stu1.sno, stu1.name, stu1.add); printf("\ndetails of 2nd stu->%d\t%s\t%s", stu2.sno, stu2.name, stu2.add); printf("\ndetails of 3rd stu->%d\t%s\t%s", stu3.sno, stu3.name, stu3.add); 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