Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
C Add Function
I created a file within a Linux OS and used Nano to create the file. I named this file "Add.c" and compiled it by using "g++". I know some people may prefer other text editors, and that's fine.
1.) Create an AddOne function so that it correctly adds one to the value of x and prints:
X: 0 X: 1
#include <stdio.h>
int main(int argc, char ** argv){ int x = 0; printf("X: %d \n", x);
// put solution here
printf("X: %d \n", x); }