Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void extraloop() {
- char * data = "Just a line of text that I would like to work with in a diffrent area";
- printf("\nExtraloop: %s\n", data);
- }
- int main() {
- extraloop()
- //How do I get the data from extraloop to main?
- printf("Main Loop: %s\n", data);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement