C Language MCQ - English
The operator used to get value at address stored in a pointer variable is
Home | Discussion ForumThe operator used to get value at address stored in a pointer variable is
*
&
&&
||
Answer : A
View More Related Question
1) If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?
2) A pointer is
A keyword used to create variables
A variable that stores address of an instruction
A variable that stores address of other variable
All of the above
View Answer
3) In which header file is the NULL macro defined?
4) What will be the output of the following C code? #include <stdio.h>
int x = 0;
void main()
{
int *ptr = &x;
printf("%p\n", ptr);
x++;
printf("%p\n ", ptr);
}
5) Which of the following does not initialize ptr to null (assuming variable declaration of a as int a=0;)?