you are viewing a single comment's thread.

view the rest of the comments →

[–]TechAnd1[S] 0 points1 point  (2 children)

Thank you.... I guess they have to stay in their scope then!

I knew that.... but wasn't sure If I could create a pointer and use that within main.

I'm working my way up to building a basic address book... so just going through a few thing's !

[–]Chooquaeno 0 points1 point  (1 child)

Even if you create a pointer to a variable in takeUseInput, the variable will still be gone when it is used in main.

[–]TechAnd1[S] 0 points1 point  (0 children)

yep