char is just a 1 byte integer. There is nothing magic with the char type! Just as you can assign a short to an int, or an int to a long, you can assign a char to an int. Yes, the name of the primitive data type happens to be "char", which insinuates that it should only contain characters.
This question already has answers here: Converting int to char in C (7 answers).
int upper(char *); Or even to.
int search(char *text1, char *text2); is wrong and doesn't match to the function definition.
конвертирование (char)int (char*)int Вопрос такой каким образом можно выполнить вот такую операцию: у нас есть: int c = 12; char...
Think of the char data type as a small integer type. That’s exactly what it is. We just happen to typically store ASCII (or other) character codes in chars, but they are ultimately just small integers, and are often used simply as small integers.
atoi() - это круть, но просит на вход const char*, а я могу максимум char сделать( Где здесь копать? Хотя тут char используют...