Consider the following function implemented in C \[\] void test_fun(int x, int y) { \[\]int *p; \[\]x=0;\[\] p=&x; \[\]y=*p;\[\] *p=1;\[\] printf("%d,%d", x, y); \[\]} \[\] The output of invoking test_fun(10,10) is
The function will print: 1,0 Correct Option: (b)
Reinforce your conceptual grasp with related questions from CUET-MCA 2021:
Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.
Start Free Mock Test Series →