Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If following program fragment (assume negative numbers are stored in 2's complement form) unsigned i=1; int j=-4; printf(%d,8*size of(int)); output is? a) an unpredictable value

If following program fragment (assume negative numbers are stored in 2's complement form)

unsigned i=1;

int j=-4;

printf("%d",8*size of(int)); output is?

a) an unpredictable value

b) 8*log(x+3)

c) log(x+3)

d) log 8(x+3)


Step by Step Solution

3.35 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

Answer Ans c Let size of int 1 So 4 will be stored as ... 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

More Books

Students also viewed these Algorithms questions

Question

What specific task is performed by the physical layer?

Answered: 1 week ago