Answer:
64 K bytes = 65536 bytes
32 M bytes = 33554432 bytes
Explanation:
The question expect the number of bytes in binary instead of decimal. So this is important to understand that:
- 1K bytes = 1024 bytes (in binary)
Therefore,
- 64 Kb = 64 x 1024 = 65536 bytes
Using the similar calculation logic, we know
- 1M bytes = 1024 x 1024 = 1048576 bytes (in binary)
Therefore,
- 32 M bytes = 32 x 1048576 = 33554432 bytes
Answer:
C code for half()
#include<stdio.h>
void half(float *pv);
int main()
{
float value=5.0; //value is initialized
printf ("Value before half: %4.1f\n", value); // Prints 5.0
half(&value); // the function call takes the address of the variable.
printf("Value after half: %4.1f\n", value); // Prints 2.5
}
void half(float *pv) //In function definition pointer pv will hold the address of variable passed.
{
*pv=*pv/2; //pointer value is accessed through * operator.
}
- This method is called call-by-reference method.
- Here when we call a function, we pass the address of the variable instead of passing the value of the variable.
- The address of “value” is passed from the “half” function within main(), then in called “half” function we store the address in float pointer ‘pv.’ Now inside the half(), we can manipulate the value pointed by pointer ‘pv’. That will reflect in the main().
- Inside half() we write *pv=*pv/2, which means the value of variable pointed by ‘pv’ will be the half of its value, so after returning from half function value of variable “value” inside main will be 2.5.
Output:
Output is given as image.
Answer: hello your question is poorly written and I have been able to properly arrange them with the correct matching
answer
Static libraries : C
Dynamic link libraries: A
Using static libraries: B
Making some changes to DLL: D
Explanation:
Matching each term with its meaning
<u>Static Libraries </u> : Are attached to the application at the compile time using the Linker ( C )
<u>Dynamic link libraries</u> ( DLL ) : Is Loaded at runtime as applications need them ( A )
<u>Using static Libraries </u>: Makes your program files larger compared to using DLL ( B )
<u>Making some changes to DLL </u>: Does not require application using them to recompile ( D )
Answer:
Disk Operating System
Explanation:
"DOS is a platform-independent acronym for Disk Operating System which later became a common shorthand for disk-based operating systems on IBM PC compatibles."
Im not sure about B. but if you can choose mutiple pick C,D,E but if you can shoose only one than pick A