binary tag

14 questions


1 answers
52 views
0
How do I enter binary numbers?

const x = 00010000;Like the octal and hexadecimal numbers start with 0x, Is there a function to specify binary numbers?

2 years ago

1 answers
86 views
0
Binary search using C language is not possible

int arr[5] = { 0 };int main() { int n = 0, q = 0, x = 0; int a = 0; int r = 0, l = 0; int i = 4;n = 5;r = (n - 1);q = 10;for (int j = (n - 1); j>(-1); j--){ arr[j] = 10 + 10 * i; printf(arr[%d] = %...

2 years ago

1 answers
134 views
0
I want to know how to read a binary file one by one

I wonder how to read binary files by 1 byte!In the file io I've learned so far, the only way to read one line at a time was to read multiple lines at a timeThen is there a way to read one by one like ...

2 years ago

1 answers
82 views
0
How do you write binary?

I know that hexadecimal numbers have 0x in front of it, and octal numbers have 0 in front of itSo what do we do to express it's binary

« - 2 -

© 2024 OneMinuteCode. All rights reserved.