like i have a string ch[100] how can i convert each character of it to integer that is ascii value which can be later converted in to binary so that ascii value of each character in a string has a corresponding binary value
which can be later converted in to binary so that ascii value of each character in a string has a corresponding binary value
From what I understand, you want to convert char to int. That has been answered. Then you want to convert the int to binary. Where do you want to store that binary value? In another array? Please specify.