Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What is the advantage of pointers in C?
Home
Technology
What is the advantage of pointers in C?
asked
Jan 22, 2021
in
Technology
by
JackTerrance
What is the advantage of pointers in C?
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Jan 22, 2021
by
JackTerrance
There following advantages of the pointer in C programming.
We can access the memory location with the help of C Pointers.
With the help of pointers, we can efficiently pass the structure. It helps to reduce stack usage.
We can access the array elements with the help of C Pointers.
Pointers are used for dynamic memory allocation using the memory management function.
It used in complex data structures like linked lists, trees, etc.
Using the pointer we can jump from one application to another application.
Related questions
+1
vote
Q: What is the advantage of declaring void pointers in C-Programming?
What is the advantage of declaring void pointers in C-Programming?...
asked
Nov 9, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is the advantage of declaring void pointers?
What is the advantage of declaring void pointers?...
asked
Jan 17, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: How is Pointers subtraction in C?
How is Pointers subtraction in C?...
asked
Jan 24, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: When should we use pointers in a C program?
When should we use pointers in a C program?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is void or Generic pointers in C?
What is void or Generic pointers in C?...
asked
Jan 21, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
+1
vote
Q: What are valid operations on pointers in C Programming?
What are valid operations on pointers in C Programming?...
asked
Nov 9, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Describe Wild Pointers in C Programming?
Describe Wild Pointers in C Progamming?...
asked
Nov 8, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Is it possible to subclass a C struct in C++ and use pointers to the struct in C code?
Is there a side effect in doing this: C code: struct foo { int k; }; int ret_foo(const struct ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Mar 13, 2022
in
Education
by
JackTerrance
c
cgcc
0
votes
Q: What is the advantage of a void pointer in C?
What is the advantage of a void pointer in C?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What are the advantages of using an array of pointers to string instead of an array of strings?
What are the advantages of using an array of pointers to string instead of an array of strings?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is an array of pointers?
What is an array of pointers?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between pointer to an array and array of pointers?
What is the difference between pointer to an array and array of pointers?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Can we perform arithmetic operation on pointers?
Can we perform arithmetic operation on pointers?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Where can the function pointers be used?
Where can the function pointers be used?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What ais the use of void pointers?
What ais the use of void pointers?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
...