Guest User

Untitled

a guest
Aug 28th, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. typedef struct test_st test_t;
  4.  
  5. struct test_st {
  6.         int a;
  7.         int b;
  8. };
  9.  
  10.  
  11. int main() {
  12.         test_t *test = {23, 42};
  13.         printf("%d, %d\n", test->a, test->b);
  14.         return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment