Newbie to C, Pointers giving error ('p1' undeclared first use in this function) [closed]
Look, you know how to declare an integer, char, and float, because you did that already. You also have to declare Pointers too: int* p1; // p1 is a Pointer-to-Integer. char* p2; // p2 is a Pointer-to-Char. float* p3; // p3 is a Pointer-to-Float. p1 = &integer; // Set p1 to point to a real … Read more