Home » C Programming » Constants

What will be the output of the program? #include<stdio.h> int main() { const int x=5; const int *ptrx; ptrx = &x; *ptrx = 10; printf("%d\n", x); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!