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.
The line code will create array is G = array('f',[2.5, 3, 7.4])
<h3>What is meant by array ?</h3>
As opposed to defining distinct variables for each value, arrays are used to hold numerous values in a single variable. Set the data type (such as int) and the array name, followed by square brackets [, to construct an array.
An array is a collection of elements with the same type that are kept in nearby memory locations and may each be separately referred to using an index to a special identifier. There is no need to declare five distinct variables when declaring an array of five int values (each with its own identifier).
In the C programming language, arrays are a derived data type that may contain primitive data types like int, char, double, float, etc.
To learn more about array refer to :
brainly.com/question/28061186
#SPJ1
Answer:
Line of sight wireless
Explanation:
Line of sight wireless are wireless which enable antenna to sends and receives a microwave signal to the ISP's antenna
By standing between the mounted antenna at client building so that the other side of the wireless connection you intend to create can be visible.
Line of Sight wireless also provide electro-magnetic radio waves that tends to be less affected by external forces leading to better connection reliability because all wireless networks excel only with true line of sight that is why it is always advisable that the antennas are mounted above the tree line, to ensure proper connections without obstacles between them since
Line of sight depend on having a clear line of sight between the antenna and the hotspot .
Answer: Arithmetic operators +, -, *, /, and % perform addition, subtraction, multiplication, division, and modulo operations. ... The concept of logical operators is simple. They allow a program to make a decision based on multiple conditions. Each operand is considered a condition that can be evaluated to a true or false value.
Explanation: