online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
//Author:Potnuru SravanKumar //ID:N190341 //Class:Cse-02 #include<stdio.h> #include<stdlib.h> void floor(char []); void ceil(char []); int main() { char s[10]; int choice; printf("enter the number:"); scanf("%s",s); while(1) { printf("enter 1(floor value),2(celing value) and 3(exit):"); scanf("%d",&choice); switch(choice) { case 1: floor(s); break; case 2: ceil(s); break; case 3: exit(0); } } } void floor(char s[]) { printf("%c\n",s[0]); } void ceil(char s[]) { printf("%c\n",s[0]+1); }

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