Hi again guys. Well i need to convert char to int my problem is how can i get the exact value of int if for ex:
i need to convert that to integer.
Conversion is not necessary. The char data type is a one-byte integer.
char x = 2; int y = x;
The compiler will promote the char to int during the assignment.
also we can use the function of convert char to integer. also we can use Pointer in it.
>>also we can use the function of convert char to integer.
Please name that function. There is no standard C function because its not needed.
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.