A pointer is

Home | Discussion Forum
Taiyari24Hour

A pointer is



View More Related Question

2) What is (void*)0?

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

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

4) A pointer is

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.