What are void pointers?

Answers were Sorted based on User's Feedback



What are void pointers?..

Answer / hrpynux@gmail.com

A void pointer is a pointer that has no associated data type with it. A void pointer can hold address of any type and can be typecast to any type.

Is This Answer Correct ?    0 Yes 0 No

What are void pointers?..

Answer / Mayank Kumar Pandey

In C and C++, a void pointer is a generic pointer type that can point to any type of data. It is declared using the keyword 'void*'. However, it cannot be directly used to access the data it points to, as its type is unknown.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Are floats faster than doubles?

1 Answers  


explain the concept of inheritance with an example?

9 Answers   Polaris,


Which collections are thread safe in java?

1 Answers  


What’s the difference between unit, integration and functional testing?

1 Answers  


How to make a write-only class in java?

1 Answers  


What is the hashcode () and equals () used for?

1 Answers  


How do you remove duplicates in java?

1 Answers  


Tell me the programme for this @ 1 2 @ @ @ 1 2 3 4

5 Answers   Accenture, iGate, IntoNET, Value Labs,


How do you sort a string in alphabetical order in java?

1 Answers  


Why Java is a platform independent language?

6 Answers   Wipro, Zensar,


What are non-access modifiers?

2 Answers   Cognizant,


Why all programming languages have main as a execution starting point?

4 Answers  


Categories