Consider the following code: Upon compilation (gcc -std=c18), I get the following warnings: The C standard section 6.4.4.1.5 and 6.4.4.1.6 say: ...
Consider the following code: Upon compilation (gcc -std=c18), I get the following warnings: The C standard section 6.4.4.1.5 and 6.4.4.1.6 say: ...
One of my friends gave me this problem and asked me to help with it: Which will be the address memorated in pointer p after running this code? I ju ...
I am trying to sent data to a peripheral using CoreBluetooth , the frame that I sent to device is as follows after encryption : can I send the comm ...
I have my simple code in VDHL that seperates digit from 2-digit number, but when testing, my seperated digits remain unsigned (u). I have a hunch that ...
If I know that "Const_value" is 4 and "i" is 100 then the difference is -96. The expected outcome of j would be 0 in that case because -96 > 0 is ...
When I try to compile this, I get the following warnings: Maybe it's just a bug or something?.. GCC version: gcc version 6.3.0 (MinGW.org GCC-6 ...
I have Int class, I split it into 4 bytes using ByteBuffer.allocate(4).order(ByteOrder.BIG_ENDIAN).putInt(word).array(). Now, I would like to map thro ...
Im having an error with this query, I'm using a the latest SQL server and management studio See the query below ...
I have a function that returns unsigned 64 bit integers, which VBA does not support. I have seen workarounds using Currency but I want to do it using ...
I'm messing with bit operators in C and I have this piece of code: binario.h is some library that just made some decimal to binary conversion. The ...
I have a question about SNMP encoding of UNSIGNED32. I tried to implemet a stack to process SNMP requests, and I would like to use UNSIGNED32 type. Bu ...
I am new to reversing. I have stumbled upon a line of code which I am unable to understand. The code is for arm64 lib. So , what I understood is th ...
I had this question on my exam, and I couldn't realy solve it, will appreciate some help. Fill the blanks only, function must return true if and o ...
This program is called create_borts_file (bort is a contraction of big-endian short) and takes in: a filename, the beginning of a range of integers, a ...
I want to add 2 unsigned vectors using AVX2 however I need to have overflow instead of saturation that _mm256_adds_epu16 does to be identical with ...
So I tried the main method that I came across on internet and it never worked, I tried many different things but can't seem to make it work. When it i ...
I am quite confused with the behavior of strlen,the for loop below never ends (without adding the break) when try it, while the i < -2 should retur ...
The following code makes clang to fail when -Wc++11-narrowing is specified (Same code in godbolt: https://godbolt.org/z/nTKqT7WGd) I read the s ...
std::uint8_t x = 256; //Implicitly converts to 0 std::uint8_t y = 255; y++; For x, I assume everything is handled because 100000000 gets converted ...
float f = 010; unsigned *pi = (unsigned *) &f; printf("%x", *pi); I don't understand why is output 41000000. ...