#include <stdio.h> #include <stdint.h> void setbit(uint8_t *reg,uint8_t pos){ *reg &= ~(1 << pos); } int main() { uint8_t reg, pos; scanf("%hhu%hhu", ®, &pos); setbit(®, pos); printf("%u", reg); }