in Technology by
What is the advantage of declaring void pointers in C-Programming?

1 Answer

0 votes
by
When we do not know what type of the memory address the pointer variable is going to hold, then we declare a void pointer for such.

Related questions

0 votes
    What is the advantage of declaring void pointers?...
asked Jan 17, 2021 in Technology by JackTerrance
0 votes
    What is void or Generic pointers in C?...
asked Jan 21, 2021 in Technology 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 is the advantage of pointers in C?...
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
+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
    What is the size of a void pointer in C?...
asked Jan 21, 2021 in Technology by JackTerrance
0 votes
    Which is a valid declaration within an interface? A)protected short stop = 23; b)final void madness(short stop); ... (double duty);? Select the correct answer from above options...
asked Dec 1, 2021 in Education 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
    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
    If I have a UserControl: Foo.Bar.MyClass, I know I can reference it in XAML by declaring: xmlns: ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    I followed the accepted answer here to alter the order of items in a foreign key select list in my ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    I followed the accepted answer here to alter the order of items in a foreign key select list in my ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
...