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 |
how can write all 1to 100 prime numbers using for loop,if and break ?
Explain what is the benefit of using const for declaring constants?
What does 1f stand for?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
how many keywords are available in 'c' language a) 32 b) 34 c) 45 d) 48
#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }
Can you define which header file to include at compile time?
What are the different types of C instructions?
write a program to remove occurrences the word from entered text?
Difference between Shallow copy and Deep copy?
What are all different types of pointers in c?
Is exit(status) truly equivalent to returning the same status from main?