loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.9918774508188717","path":"main.c","file":{"path":"main.c","content":{"asEncoding":{"base64":"I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbiggKQp7CiAgICBpbnQgYzsKICAgIHByaW50ZigiRW50ZXIgYSBjaGFyYWN0ZXIiKTsKICAgIC8qCiAgICAgICAgVGFrZSBhIGNoYXJhY3RlciBhcyBpbnB1dCBhbmQgCiAgICAgICAgc3RvcmUgaXQgaW4gdmFyaWFibGUgYwogICAgKi8KICAgIGMgPSBnZXRjaGFyKCk7CiAgICAvKgogICAgICAgIGRpc3BsYXkgdGhlIGNoYXJhY3RlciBzdG9yZWQgCiAgICAgICAgaW4gdmFyaWFibGUgYyAKICAgICovCiAgICBwdXRjaGFyKGMpOwoKICAgIHJldHVybiAwOwp9"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

int main( )
{
    int c;
    printf("Enter a character");
    /*
        Take a character as input and 
        store it in variable c
    */
    c = getchar();
    /*
        display the character stored 
        in variable c 
    */
    putchar(c);

    return 0;
}