Question: Can someone help me with my C PROGRAMMING study guide... 1)A file stream that sends data to a file is referred to as a(n) ____.

Can someone help me with my C PROGRAMMING study guide...

1)A file stream that sends data to a file is referred to as a(n) ____.

Input file stream

Output file stream

Data file

Binary file

2) Line ____ in the following section of code checks for the end-of-string character.

1 void strcopy (char string1[], char string2[])

2 {

3 int i = 0;

5 while (string2[i] != '\0')

6 {

7 string1[i] = string2[i];

8 i++;

9 }

10 string1[i] = '\0';

11 }

3

5

7

10

3) The ____ function continuously accepts and stores the characters typed at the terminal into the character array passed as an argument.

gets()

puts()

getchar()

putchar()

4) The actual declaration of the FILE structure is contained in the ____ standard header file.

stdio.h

stdlib.h

file.h

stream.h

5) When using #include, the characters ____, tell the compiler to begin searching for the included file in the C compiler system library directory.

<>

//

\\

6) The function call ____ passes a copy of the complete emp structure to calcNet().

calcNet(struct emp);

calcNet(*emp);

calcNet(&emp);

calcNet(emp);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!