Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

New Trends In Databases And Information Systems Adbis 2019 Short Papers Workshops Bbigap Qauca Sembdm Simpda M2p Madeisd And Doctoral Consortium Bled Slovenia September 8 11 2019 Proceedings

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Robert Wrembel ,Mirjana Ivanovic ,Johann Gamper ,Mikolaj Morzy ,Theodoros Tzouramanis ,Jerome Darmont

1st Edition

3030302776, 978-3030302771

More Books

Students also viewed these Databases questions

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago