Given the following strucure definition, what is the correct way to initialize a variable called today?

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

a. DateType today(1,1,2000);
b. DateType today = (1,1,2000);
c. DateType today = {1,1,2000);
d. DateType today = {1,1,2000,0);

c. DateType today = {1,1,2000);

Computer Science & Information Technology

You might also like to view...

The Office ________ is a temporary storage area that holds items that have been cut or copied

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following features of Windows allows a device to have a default IP address if a DHCP server is not available?

A. APIPA B. ARP C. IPv6 D. DNS

Computer Science & Information Technology