जॉइन Examsbookउत्तर : 2. "10"
What would be the output of the following program ?
main()
{
const int x = 5;
int *ptrx;
ptrx = &x;
*ptr = 10;
printf ("%d", x);
}5
प्र: What would be the output of the following program ? main() { const int x = 5; int *ptrx; ptrx = &x; *ptr = 10; printf ("%d", x); }
- 15false
- 210true
- 3Errorfalse
- 4Garbage valuefalse
- उत्तर देखें
- Workspace
उत्तर : 2. "10"
व्याख्या :
Answer: B) 10 Explanation: