hello
i am a student of sgrrits dehradun doing bca now a days my pointers chapter is going on its difficult to understand but mostly i did it but i want to know that how it is use ful for us in the c.
i only find its 1 benefit that is by using pointers you can return two or more values in a function.
please can anybody tell how it is more useful for us and what are that programs that can be excutes by using only pointers?
please also tell me any site or give me any link where i find lot of lot clues to do programs by using pointer.

Recommended Answers

All 4 Replies

Well, you use them for lots of things. E.g pass by reference, linked lists, hash tables etc... All it is is essentially a number representing a memory address location where data of that type is stored.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.