Note that there are some explanatory texts on larger screens.

plurals
  1. USzxcdw
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. CO@Linuxios Mind elaborating more on the subject? I've never stumbled upon such recommendation before. "All modern processors nowadays" - does that include x86/x86-64 architecture?
      singulars
    2. CO@KeithThompson Indeed, hence why I said "K&R C has bee deprecated for over 23 years", hinting that C89/C90 replaced it when the second edition of the book became available along with the ANSI standard. Up until then "K&R C" was all that was available for the most part. I'd personally advocate "C Programming: A Modern Approach" by K. N. King over K&R, it's more approachable and goes over the language(C99 actually) with more detail(as in examples and recap) while avoiding the errata and style issues. K&R is good(I've read it 3 times myself, and still love it) but we've got better books by now.
      singulars
    3. COInstead of `add`ing the $ to the value, you need to append it at the end of the string. The string should consist of bytes between 0x30 and 0x39 because those are the ASCII symbols representing the decimals from 0 to 9. The length of the string should be at least the amount of decimal numbers in your result +1. If the result of addition is 16, then the string should be at least 3 bytes in length(because value 16 is 2 symbols and the string ends in '$'.) So what you need to do now is to convert from arbitrary byte value to ASCII string. From f.e. value 127(in dec) to bytes 0x31,0x32,0x37 + '$'
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload