Question : struct in c
Answered by : obnoxious-oyster-0qw46wf0pu9c
typedef struct { char cognome[30]; char nome[20]; int voto;
}alunno;
Source : https://www.codingcreativo.it/struct-in-c/ | Last Update : Sun, 10 May 20
Question : how to declare a struct in c
Answered by : johnny-joca
//option 1
typedef struct STRING{ char *str; int length;
} STRING;
STRING var_name;
//option 2
struct STRING{ char *str; int length;
};
struct STRING var_name;
Source : | Last Update : Fri, 16 Sep 22
Question : C Syntax of struct
Answered by : samer-saeid
struct structureName { dataType member1; dataType member2; ...
};
Source : | Last Update : Sun, 19 Jun 22