engineering recuitment NIELIT Scientific Assistant Mock Test 2025 Programming and Data Structure Programming in C
What is the output of the following code snippet ?
int a =3; int b =5;
int *p = &b;
int **q = &p;
*q = &a;
printf(“%d",*p);
1
Segmentation fault
2
OXF3000H
3
5
4
3