MCPcopy Create free account
hub / github.com/Apress/beginning-rust-2e / main

Function main

Source Code/08-09.c:4–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260, 10000000, 183.19, Q*/
3#include <stdio.h>
4int main() {
5 struct SomeData {
6 int integer;
7 float fractional;
8 char character;
9 unsigned char five_bytes[5];
10 };
11 struct SomeData data = {
12 10000000,
13 183.19,
14 'Q',
15 {9, 0, 250, 60, 200},
16 };
17 printf("%d, %d, %g, %c",
18 data.five_bytes[3], data.integer,
19 data.fractional, data.character);
20 return 0;
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected