I can't even say this is an answer
If there isn't a specific answer for this, I think it depends on everyone. Maybe they'd behave better knowing that their actions are being monitored. Who in their right mind is going to act like a lunatic when they know people are watching.
I think it will most likely alter their attitude in a positive way but it will also most likely be fake actions put on show
Answer:
#include <stdio.h>
#include <string.h>
void main( )
{
array flowerProp[2];
FILE *fp; // file pointer
char flower[255]; // creating a char array to store data
fp = fopen("flowers.dat","r");
if (fp == NULL){
printf("File flower.dat does not exist");
return;
}
// assuming the growing condition is next line to the flower name.
while(fscanf(fp, "%s", flower)!=EOF){
flowerProp.push(flower);
if (flowerProp.length == 2){
printf("%s: %s\n ", flowerProp[0], flowerProp[1]);
memset(flowerProp, 0,0);
}
}
fclose (fp );
}
Explanation:
The algorithm creates a pointer to the memory location to the file starting position, the character size is used to get a string from the file line by line. Then it opens and checks if the file exists.
If the file exists, the while gets the name and growth condition of the flower, saves it to an array, prints the name and condition, and clears the array for the next flower type in the loop.
Answer:
The prototype for the function is written below:-
void printArray(int [],int);
Explanation:
The prototype of the function is written above.Since the function does not return a value so it has to be of type void.Then following is the name of the function.Following that the arguments in the parenthesis.We need not to provide the name of the arguments we just have to define it's type.So for the array we have to just write int [] and for integer variable just int.
I believe A is the answer here.
Answer:
False
Explanation:
A closed-source product is often closed-source to protect intelectual property and prevent replication.