What is (void*)0?

Home | Discussion Forum
Taiyari24Hour

What is (void*)0?



View More Related Question

2) Comment on the following pointer declaration.

 int *ptr, p;

3) What is (void*)0?

4) Which of the following does not initialize ptr to null (assuming variable declaration of a as int a=0;)?

5) What will be the output of the following C code?

 #include <stdio.h>
int main()
{
int i = 10;
void *p = &i;
printf("%d\n", (int)*p);
return 0;
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.