C Pointer Basics: Predicting Output

🚀 Testing your C fundamentals! Can you predict the output? int a = 5; int b = 20; int *p = &a; p = &b; *p = 30; printf("%d %d", a, b); Comment your answer 👇 #CProgramming #EmbeddedEngineer #CodingChallenge #Pointers

See more comments

To view or add a comment, sign in

Explore content categories