Answer:
#include <stdio.h>
void printValues ( unsigned char *ptr, int count) // count is no of cells
{
for(int i=0; i<count; i++) {
printf("%d ", ptr[i]);
}
}
int main ( )
{
unsigned char data[ ] = { 9, 8, 7, 5, 3, 2, 1} ;
printValues( data, sizeof(data)/sizeof(data[0]) );
}
Explanation:
Remember that the sizeof() mechanism fails if a pointer to the data is passed to a function. That's why the count variable is needed in the first place.
Answer:
An example of effective communication is when the person who you are talking to listens actively and absorbs your point and understands it.
Explanation:
Hope this helps!!
Answer:
A subroutine is a block of statements that carries out one or more tasks. ... they share all variables with the rest of the main program. ... Once you have defined a function in your program, you may use it in any appropriate expression, such as: ... Thus, functions can- not change the values of the arguments passed to them.
Explanation:
Answer:
The correct answer to the following question will be Option B (Algorithm).
Explanation:
- An algorithm seems to be a countable series of very well-defined, machine guidance that is implementable, and are generally used to solve a group of issues and to perform a calculation.
- It is widely used for processing of the data, computation and other associated computational and numerical activities.
- A coding algorithm is a process of the computer that's a lot like just a formula that tells the machine precisely what actions you need to follow to fix a problem or achieve a goal.
The other three options will not be able to fix the problems that arise while achieving a goal, execution of a function or creating program code.
Therefore, Option B is the right answer.
D. It is used to add sound effects.
Hope this helps!