Question: c programming question 1 Assume the following structure definition: struct date { int month; int day; int year; }; Also assume the following variable declaration:

c programming

question 1

Assume the following structure definition:

struct date { int month; int day; int year; };

Also assume the following variable declaration:

struct date birthday;

What is the data type of variable birthday?

question 2

Which function(s) below allow you to write a single character to a data file? (Select all that apply)

a.

putc()

b.

fputchar()

c.

putchar()

d.

fputc()

question 3

Assume the following array declaration: int test[3]; How would you reference the first element in the test array?

a.

test[3]

b.

test[0]

c.

test[1]

d.

test[2]

question 4

It is okay to open up as many files as you want for use in your program, because for all operating systems, the number of files that can be open at any given time is unlimited.

True

False

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!