Code Snippets C

#include
#include
int main(void)
{
char x1[100], x2[100];
printf("Enter first: ");
gets(x1);
printf("Enter second: ");
gets(x2);
printf("The sum is: %d.", atoi(x1) + atoi(x2));
return 0;
}