Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
In C, why is the void pointer useful in C Language? When would you use it in C Language?
Home
C Plus Plus
In C, why is the void pointer useful in C Language? When would you use it in C Language?
+1
vote
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
In C, why is the void pointer useful in C Language? When would you use it in C Language?
#c-language-void-pointer
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 15, 2020
by
SakshiSharma
The void pointer is useful because it is a generic pointer that any pointer can be cast into
and back again without loss of information.
Related questions
0
votes
Q: What is a far pointer in C Language? Where we use it in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-pointer
0
votes
Q: What is a NULL Pointer in C Language? Whether it is same as an uninitialized pointer in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-null-pointer
0
votes
Q: What are the ways to a null pointer that can use in the C programming language?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-c-programming
0
votes
Q: What is a pointer on a pointer in C programming language?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-pointer-of-pointer
0
votes
Q: What is pointer to a pointer in C Language?
asked
Mar 17, 2020
in
C Plus Plus
by
rajeshsharma
#c-language-pointers
0
votes
Q: How pointer variables are initialized in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-pointer-initialization
0
votes
Q: What is generic pointer in C in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-generic-pointers
0
votes
Q: What is near pointer in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-near-pointer
0
votes
Q: What is a normalized pointer, how do we normalize a pointer in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-normalized-pointers
0
votes
Q: What is a huge pointer in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-huge-pointer
...