struct account {
int account_number;
char *first_name;
char *last_name;
float balance;
};
struct Test
{
int x;
float y;
String z;
}
struct Fuel
|int| A
|byte| B
{ first : "Tom" , last: "Riddle" } // Structure with two fields
{"first":"Tom","last":"Riddle"} // The same value with confusing style
{center:{x:1.0, y:12.5}, radius:3} // Nested struct
struct Employee {
first_name: str
last_name: str
salary: f32
}
Languages with Structs include C, C++, Objective-C, C3, Speedie, Ion, progsbase, Jule, C2, Tick C
This question asks: Does the language have a structs structure?
Read more about Structs on the web: 1.
HTML of this page generated by Features.ts