Home » Technical Questions » Programming

What would be the output of the following program ? main() { const int x = 5; int *ptrx; ptrx = &x; *ptr = 10; printf ("%d", x); }

Correct Answer: 10

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion