Programming in C - Pointers

6. A pointer variable can be

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


7. a→b is syntactically correct if

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


8. The statement
if ( myPtr != NULL )
  *myPtr = NULL;
else
  *myPtr = NULL;
has the same effect as the statements(s)

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


9. Consider the following program fragment.
static char wer[3][4] = {"bag", "let", "bud"};
char(*ptr)[4] = wer;
In which of the following cases will the character 't' be printed?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


10. Consider the following program fragment.
static char wer[3][4] = {"bag", "let", "bud"};
char(*ptr)[4] = wer;
The possible output of printf ("%d %d" , wer[1] , wer[1] +1); is

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


  • C Programming Pointers Questions can be used to give quizzes by any candidate who is preparing for UGC NET Computer Science
  • This C Programming Pointers Questions section will help you test your analytical skills in a tricky method, thereby giving you an edge over other students
  • Any student who wants to prepare for DOEACC A Level, DOEACC B Level, and DOEACC C level can also use these Objective Type Questions Answer.
  • All candidates who have to appear for the Kendriya Vidyalaya Entrance exam can also refer to this mcq section.
  • You can also get access to the C Programming Pointers MCQ ebook.
  • C Programming Pointers Questions can be used in the preparation of JRF, CSIR, and various other exams.
  • You can also download pdf for these C Programming Pointers multiple-choice questions Answers.
  • This C Programming Pointers Multiple Choice Questions Answers section can also be used for the preparation of various competitive exams like UGC NET, GATE, PSU, IES, and many more.
  • C Programming Pointers Questions can be used to gain a credit score in various undergraduate and postgraduate courses like BSc, MSc and MCA
  • C Programming Pointers Questions for UGC NET Computer Science

    C Programming Pointers MCQ

    C Programming Pointers Multiple choice questions