Answer Posted / manjulatha
use of pointers makes the code more efficient and compact.
1.to acess array elements
2. to return more than one value to a function.
3. to acess dynamically allocated memory.
4. to implement data structures like linked lists,trees.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Explain what are the different file extensions involved when programming in c?
Can a local variable be volatile in c?
What is bash c?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
How can you call a function, given its name as a string?
Explain what is a program flowchart and explain how does it help in writing a program?
Do you know the difference between exit() and _exit() function in c?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Can we declare variables anywhere in c?
What are the 5 data types?
What is the explanation for the dangling pointer in c?
What are structures and unions? State differencves between them.
How to throw some light on the b tree?