Question 63Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

Suppose in C program, the variable j is declared as int *j. What is the meaning of operator * in this declaration?

  1. AAllocating memory to j
  2. BMakes variable j as pointer to an integer
  3. CMakes variable j as integer to float
  4. DAn integer is multiplied by the value contained in j
Show answerHide answer

Correct answer: (B) Makes variable j as pointer to an integer

Explanation

In a declaration, * makes j a pointer variable that can store the address of an int. It does not allocate the pointed-to memory or multiply anything.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM)

This is question 63 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 2 (1:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.