Examness
Soal latihan gratis untuk setiap ujian
ID
Bahasa Indonesia
Masuk
Daftar
Beranda
Latihan
Ujian
Guru AI
Wawancara
Lab Kode
Belajar Seru
Kontak
💬
Beri masukan
Lab Kode
/
C
/
Intermediate
Intermediate C
2 latihan · dalam urutan pembelajaran
1
Reverse an array in place
Write `void reverse(int *a, int n)` that reverses the array in place - no second array.
two pointers
swapping
in-place
10m
2
Count the set bits
Write `long count_bits(unsigned long x)` returning how many bits of `x` are 1.
bitwise AND
shifts
10m
💬
Beri masukan