MCQs on Pointer in C

Hello students welcome to CSE Study247 , Today I am provide you MCQs on Pointer in C.

This page provide 20 Multiple choice question with Answer that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview, TCS , Railway & another Government Sector)

❤️ TOP 500+ C Programming Question and Answer

C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.

C-Programming-MCQ-Multiple-Choice-Questions

C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.

 

Q.1 A Pointer is variable that store —- of another variable ?





ANSWER= (B) Address

 

Q.2 Which of the following is an address operator ?





ANSWER= (C) &

 

Q.3 Which of the following is dereferencening operator ?





ANSWER= (A) *

 

Q.4 Which of the following type of address stored in pointer variable ?





ANSWER= (B) int

 

Q.5 —- Operator can be applied to pointer variables.





ANSWER= (A) Casting

 

Q.6 Find out the output for the following program

  void main()
  {
  char *p;
  printf(“%d%d”sizeof(*p),sizeof(p));
  }






ANSWER= (C) 1 2

 

Q.7 A Pointer is





ANSWER= (B) A variable that stores address of other varable

 

Q.8 * is called





ANSWER= (B) Value at operator

 

Q.9 Pointer variable is declared using preceding — sign.





ANSWER= (C) *

 

Q.10 In c pointer variable to an integer can be created by the decalaration





ANSWER= (C) int *p;

 

Q.11 A pointer variable can be returned by a function.





ANSWER= (A) True

 

Q.12 Which is the pointer which denotes the object calling the member function ?





ANSWER= (A) This pointer

 

Q.13 Find out the output for the following program

  void main()
  {
  int p = 1;
  int*ptr=&p; printf(“%d”,*ptr);
  }






ANSWER= (B) 1

 

Q.14 Find out the output for the following program

  void main()
  {
  int p = 5;
  int*ptr=&p;
  *ptr+=1;
  printf(“%d%d”,*ptr,p);
  }






ANSWER= (C) 6 6

 

Q.15 What is the advantage of pointer ?





ANSWER= (B) It decreases program execution speed

1. Official Telegram Click Here
2. Telegram For CSE MCQs Click Here
3. You TubeClick Here

error: Content is protected !!