Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone help me with my C PROGRAMMING study guide... 1)A file stream that se

ID: 3690666 • Letter: C

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) ____.

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] != '')

6   {

7     string1[i] = string2[i];

8     i++;

9   }

10   string1[i] = '';

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);

Explanation / Answer

1) Output file stream
2) 5
3) gets
4) stdio.h
5) <>
6) calcNet(emp)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote