Answers for "c++ pointers example"

C++
0

C/C++ Pointers

int* pc, c;
c = 5;
pc = &c;
c = 1;
printf("%d", c);    // Output: 1
printf("%d", *pc);  // Ouptut: 1
Posted by: Guest on April-17-2022

Browse Popular Code Answers by Language