loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.15241383745771642","path":"main.c","file":{"path":"main.c","content":{"asEncoding":{"base64":"Ly8gQyBQcm9ncmFtIHRvIGRlbW9uc3RyYXRlIHRoZSB3b3JraW5nIG9mIGFzc2lnbm1lbnQgb3BlcmF0b3JzCiNpbmNsdWRlIDxzdGRpby5oPgppbnQgbWFpbigpCnsKICAgIGludCBhID0gNSwgYzsKCiAgICBjID0gYTsKICAgIHByaW50ZigiYyA9ICVkIFxuIiwgYyk7CgogICAgYyArPSBhOyAvLyBjID0gYythCiAgICBwcmludGYoImMgPSAlZCBcbiIsIGMpOwoKICAgIGMgLT0gYTsgLy8gYyA9IGMtYQogICAgcHJpbnRmKCJjID0gJWQgXG4iLCBjKTsKCiAgICBjICo9IGE7IC8vIGMgPSBjKmEKICAgIHByaW50ZigiYyA9ICVkIFxuIiwgYyk7CgogICAgYyAvPSBhOyAvLyBjID0gYy9hCiAgICBwcmludGYoImMgPSAlZCBcbiIsIGMpOwoKICAgIGMgJT0gYTsgLy8gYyA9IGMlYQogICAgcHJpbnRmKCJjID0gJWQgXG4iLCBjKTsKCiAgICByZXR1cm4gMDsKfQ=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// C Program to demonstrate the working of assignment operators
#include <stdio.h>
int main()
{
    int a = 5, c;

    c = a;
    printf("c = %d \n", c);

    c += a; // c = c+a
    printf("c = %d \n", c);

    c -= a; // c = c-a
    printf("c = %d \n", c);

    c *= a; // c = c*a
    printf("c = %d \n", c);

    c /= a; // c = c/a
    printf("c = %d \n", c);

    c %= a; // c = c%a
    printf("c = %d \n", c);

    return 0;
}