Could you explain for the usefulusefulness of + '0' in this line of code for me?
What does + '0' means in C
I have reading for a line of code that
binary[index] = (tempDecimal % 2) + '0';
Could you explain for the useful of + '0' in this line of code for me?
What does + '0' mean in C
I have this line:
binary[index] = (tempDecimal % 2) + '0';
Could you explain the usefulness of + '0' in this line of code for me?
Post Closed as "Duplicate" by Blaze, rogerdpack, Jabberwocky cUsers with the c badge or a synonym can single-handedly close c questions as duplicates and reopen them as needed.