home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_01 / 034.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-02  |  698KB  |  2550x3300
Labels: book | bulletin board | crt screen | monitor | poster | reckoner
OCR: Chapter Getting Started Note 3 Notice the characters in the control string to pri intf This the method for getting print to output single percent sign It is han- dled version specification Learning Activities C by Discovery Find out how your compiler handles integer divi- sion and the remainder operator when at least one is nega- tive: Write a short program that performs integer division and the remainder operation and outputs the results of both operations Test your program with different values of the operands Explain what happens with your compiler fora quotient a/b when either b or both are negative integers and when the mathematical quotient ofa divided by is not an integer value Modify divrem.c by changing the Compile and execute the program again Can you explain the result? #incl Pr ...