Challenge: Convert 2-Bytes Time Into Hours, Minutes, and Seconds

Apply what you’ve learned about bitwise operators in the coding exercises in this lesson.

Problem statement

In this challenge, you have to implement the displayTime function.

void displayTime(unsigned short int tm , unsigned short int arr[3]);

Get hands-on with 1200+ tech skills courses.