#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(void)
{
int a = 10, b = 938;
char str1[8] = "", str2[8] = "";
sprintf(str1, "%d", a);
sprintf(str2, "%d", b);
strcat(str1, str2);
// long int strtol(const char *str, char **endptr, int base)
a = (int)strtol(str1, NULL, 10);
printf("%d", a);
return 0;
}
/*
run:
10938
*/