Question: Write a C programto distinguish how many empty parts the inputs have. For example, if the input is like: 00001100000000000000 00000100000000000000 00000100000000000000 00111100000000000000 01 000
Write a C programto distinguish how many empty parts the inputs have.
For example, if the input is like:
00001100000000000000 00000100000000000000 00000100000000000000 00111100000000000000 01000100000000000000 10000100000000000000 10000100000000000000 11001100000000000000 01110110000000000000
so 1 empty part.
00111100000000000000 01111110000000000000 01000110000000000000 00111110000000000000 01111110000000000000 11000110000000000000 11000110000000000000 11111111000000000000 01110011000000000000
2 empty parts inside.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
