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
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What is data type long in c?
How does normalization of huge pointer works?
Explain what is the heap?
Why clrscr is used in c?
What do you mean by a local block?
Can variables be declared anywhere in c?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Explain what is the best way to comment out a section of code that contains comments?
What is putchar() function?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is the difference between declaring a variable and defining a variable?
What is binary tree in c?
What are the rules for identifiers in c?
Explain why can’t constant values be used to define an array’s initial size?