Question
What will be the output of the following program?
#include
void main()
{
int i = 10;
void *p = &i;
printf("%d\n", (int)*p);
}
#include
void main()
{
int i = 10;
void *p = &i;
printf("%d\n", (int)*p);
}
Answer: Option A
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 1. The operator > and....
Question 2. The declaration
int (*p) [5];
means....
Question 3. Comment on the following?
const int *ptr;....
Submit Solution