my book isnt being very clear on this, so i figured i would come here for the answer. can pointers be used in functions that they arent declared? from what im understanding in my book, they should be able to, but when i try something like
i keep getting told that its an undeclared identifier by my compiler. i know that you have to declare variables within functions, but i thought that pointers were used everywhere, if im wrong then thats cool, im just trying to get this right.