Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdint.h>
- void tst(uint32_t *pVar)
- {
- printf("%d\n", *pVar);
- }
- int main()
- {
- uint32_t var = 123;
- tst(&var);
- tst((uint32_t[]){456});
- tst(&(uint32_t){789});
- return 0;
- }
- /*
- output:
- 123
- 456
- 789
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement