in Technology by
What is the advantage of pointers in C?

1 Answer

0 votes
by

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
    What is the advantage of declaring void pointers in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    What is the advantage of declaring void pointers?...
asked Jan 17, 2021 in Technology by JackTerrance
0 votes
    How is Pointers subtraction in C?...
asked Jan 24, 2021 in Technology by JackTerrance
0 votes
    When should we use pointers in a C program?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    What is void or Generic pointers in C?...
asked Jan 21, 2021 in Technology by JackTerrance
+1 vote
    What are valid operations on pointers in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    Describe Wild Pointers in C Progamming?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    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
0 votes
    What is the advantage of a void pointer in C?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    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
0 votes
    What is an array of pointers?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    What is the difference between pointer to an array and array of pointers?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    Can we perform arithmetic operation on pointers?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    Where can the function pointers be used?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    What ais the use of void pointers?...
asked Jan 22, 2021 in Technology by JackTerrance
...