Question: ram required necessary support code unless stated oth erwis e e by running it can be misleading. These are not Major a pplica ble course

 ram required necessary support code unless stated oth erwis e e

ram required necessary support code unless stated oth erwis e e by running it can be misleading. These are not Major a pplica ble course book notes are liste d 4. Predict the values of 5/-2 and 5/-2.0 on pre-C99 and pre-C++11 com pilers (Note 2.8) A. two p ossibilities: -2 and -2.5 or -3 and -2.5 B. two possibilities: -2 and-2.5 or-1 and -2.5 C. -2 and -2.500000 D. A general pre diction cannot be made for all imple mentatio ns None -a compiler or run time error oc c urs E. 5. If char is 8 bits and int is 16 bits, pre dict the values of-7 % 3 and size of(-5 % 3)on pre- C99 and pre-C++11 compilers (Notes 2.8&2.12) A. two possibilities: 1 and 2 or 2 and 2 B. two possibilities: 1 and 2 or 1 and 2 C. three possibilities -1 and 2 or 2 and 2 or -2.3 and 2 D. 1 and 2 or -1 and 4 depending upon the data type of sizeof E. Such a prediction cannot be made for all im plementations 6. Which of the following guarantees the comect answer on any ma chine? (Notes 2.10 &2.11) A. long value 300 400 10L B. long value 300-400L * 10; C. float value 300 400 10 D. double value- (double) (300 400 10L); E. none of the above because th e value of each is implem entation depende nt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!