Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- struct test {
- int test1;
- int test2;
- int test3;
- } myTests;
- void initializeStruct()
- {
- myTests.test1 = 1;
- myTests.test2 = 2;
- myTests.test3 = 3;
- }
- int main (void) {
- initializeStruct();
- printf("Hallo Welt\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement