pointer variable can be assigned the address of another variable. int main() {int num=10;int*ptr;ptr=#return 0;
Answers
Answered by
0
Answer:
#include <stdio.h> int main() { int num = 10; printf("Value of variable num is: %d", num); /* To print the address of a variable we use %p
Similar questions