what is void pointer?
Answers were Sorted based on User's Feedback
Answer / rajesh
Void pointer is the
pointer which itself is
null and can not be
interchanged by others.
Ex-
{
int *a;
void *b;
*a=*b; //valid
a=b; //invalid
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sanjay bhosale
Void pointer is the pointer which can point to any type of variable.
e.g
int a=10;
float b=20.00f;
void *ptr=null;
ptr = &a;
ptr = &b;
| Is This Answer Correct ? | 0 Yes | 0 No |
Can an array be an Ivalue?
What are preprocessor directives?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
the maximum value that an integer constant can have is a) -32767 b) 32767 c) 1.701e+38 d) -1.7014e+38
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What is an array? What the different types of arrays in c?
What is NULL pointer?
find largest element in array w/o using sorting techniques.
Explain what is the general form of a c program?
Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not
Explain the difference between #include "..." And #include <...> In c?
What are the differences between new and malloc in C?