#include <stdio.h>
#include <stdlib.h>

void inc(int *a){
    *a += 1;
    
}

int main() {
    int a;
    scanf("%d", &a);

    inc(&a);
    printf("%d\n", a);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: