N
n.noumia
Write a C/C++ program to extract any fractional decimal number (for
example, 15, 15.0, 0.15 or .15) between the strings "Hello " and "
World!" (for example, "Hello 1.124 World!"), then return a float.
float ExtractFloat(const char *str)
{
....
}
Write a C/C++ function to allocate memory always aligned at a 16 byte
boundary.
int * AllocAlignedMemory(int numBytes)
{
....
}
Write a C/C++ program to reverse the bits in a 32-bit unsigned
integer.
unsigned int ReverseBits(unsigned int u)
{
....
}
example, 15, 15.0, 0.15 or .15) between the strings "Hello " and "
World!" (for example, "Hello 1.124 World!"), then return a float.
float ExtractFloat(const char *str)
{
....
}
Write a C/C++ function to allocate memory always aligned at a 16 byte
boundary.
int * AllocAlignedMemory(int numBytes)
{
....
}
Write a C/C++ program to reverse the bits in a 32-bit unsigned
integer.
unsigned int ReverseBits(unsigned int u)
{
....
}