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:
True
Explanation:
When using databases in a project, not everyone has the same access level, e.g the database admin may have the highest level of access (access to data on live mode), the software testers have their own level of access (access to data on test mode) and so on.
Answer:
=F5*$F$12+F5
Explanation:
If we want to increment the salaries in the cell F5, we must multiply the cell F5 by cell F12, and then we must sum that result.
If we want to drag the formula from the cell F5 to F10, we must use the dollar symbol $ to apply the same percent in our formula.
For example:
F12 = 5% = 0.05
F5 = 10,000
=F5*$F$12+F5
=10,000×0.05+10,000 = 10,500
<span>When an error occurs during the execution of a method, the method throws an exception</span>