Answer Posted / ramudu a
The main advantages of using pointers are
1.) Function cannot return more than one value. But when the same function can modify many pointer variables and function as if it is returning more than one variable.
2.) In the case of arrays, we can decide the size of the array at runtime by allocating the necessary space.
3.)Pointers allow you to dynamically request memory to store off information for use later.
4.)They allow you to create linked lists and other algorithmically oriented data structures.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is pre-emptive data structure and explain it with example?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is the right way to use errno?
What is a pointer and how it is initialized?
Compare interpreters and compilers.
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
Write a program to identify if a given binary tree is balanced or not.
What is a file descriptor in c?
Why does not c have an exponentiation operator?
What is the Purpose of 'extern' keyword in a function declaration?
Explain can you assign a different address to an array tag?
Write a program to check armstrong number in c?
How can you find the exact size of a data type in c?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
develop algorithms to add polynomials (i) in one variable