Q:

HOW WILL YOU PRINT THE VALUE AND ADDRESS OF A NORMAL VARIABLE IN (EXAMPLE INT P) C?

0

HOW WILL YOU PRINT THE VALUE AND ADDRESS OF A NORMAL VARIABLE IN (EXAMPLE INT P) C?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

We can use printf (“%x”, &p); statement to print the address that pointer “p” stores.

We can use printf (“%d”, p); statement to print the value of the normal variable.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now