65. Defining a binary number as in Problem 57, write the function void shiftLeft(int binNum[], int *cBit)

Question:

65. Defining a binary number as in Problem 57, write the function void shiftLeft(int binNum[], int *cBit)

to perform an arithmetic shift left on binNum. cBit should be the value of the carry bit after the shift. Do not output the shifted number or the carry bit in the function. Test your function with interactive input.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Systems

ISBN: 9781284079630

5th Edition

Authors: J Stanley Warford

Question Posted: