Answer:
Following are the program in c language
#include <stdio.h> // header file
int main() // main function
{
int runTimes[5]={800,775,790,805,808}; // declared the array
for (int k = 0; k < 3; k++) // itearting the loop
{
printf("\n%d",runTimes[k]); // display array
}
return 0;
}
Output:
800
775
790
Explanation:
Following are the description of program
- Declared a array "runTimes[5]" as the" int " type and store the five integer value in it .
- After that iterating the for loop from the 0 index to the less then 3 index .
- Inside the for loop we print the corresponding value that are stored in the particular index in the nextline .
Answer:
a. If the read is successful, the number of bytes read is returned.
b. If the end of file is encountered, 0 is returned.
Explanation:
A read function is one of the functions used in computer programming. A read function is used to read an information or data that was written before into a file.
If any portion of a regular file before to the end of file has not been written and the end of file is encountered the read function will return the bytes with value 0.
If read function has read some data successfully, it returns the number of bytes it read.
9818 or A. Im assuming you already know how to figure it out.
Computer Fraud happens when there are hackers who are getting access with your private accounts. They can steal your personal information and it can be a bad act that can steal also your bank account with your money. They can steal the small amounts from hundreds of users because of their styles and techniques.