Write a C program to clear (make 0) the K-th bit of a given number N.
Two space-separated integers N and K.
Print the updated integer value after clearing the K-th bit.
0 <= N <= 1000000, 0 <= K <= 31
5 0
4
Binary of 5 is 101. Clearing the 0th bit gives 100, which is 4 in decimal.
#include <stdio.h>
int main() {
int n, k;
if (scanf("%d %d", &n, &k) == 2) {
// Write your code here
}
return 0;
}Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used