TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.11] printing value of pointer to pointer variables

#include
int main(){
  int i = 3;
  int *j;
  int **k;
  j=&i;
  k=&j;
  printf("%u %u %d ",**k,*k,k);
  return 0;
}
    

Options]

(A) Address, Address, 3
(B) Address, 3, 3
(C) 3, 3, 3
(D) Compilation error
(E) None of above        

Click to See Answer
(E) None of above    

Next | passing "%f %s"+4 in printf

Previous | comparision between float variable and 0.7 constant

Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions