Struct Is the Same as int AND float

xiaoxiao2021-03-06  51

Int:

INT Number = 0; Number = InputNumber ();

==============================

Struct Date {Int day; int year;

Struct Person {struct date dote; char name [16];

Struct Date InputDob () {struct date dob; dob.day = 1; dob.month = 2; dob.Year = 3;

Return (DOB);

Main ()

{Struct person person; person.dob = inputdob ();

转载请注明原文地址:https://www.9cbs.com/read-115858.html

New Post(0)