MIPI_BaseC_WebinarFRTK/04_Lecture04/11_bit operations_2_p30.c

11 lines
148 B
C
Raw Permalink Normal View History

2024-11-13 09:22:28 +03:00
#include <stdio.h>
#include <inttypes.h>
int main()
{
unsigned int a=0xFFFFFF00;
a = a | 3;
printf("a = %x", a);
// a = ffffff03
}