engineering recuitment UKPSC Polytechnic Lecturer Mock Test 2024 Programming and Data Structure Programming in C
'C' लैंग्वेज में निम्नलिखित फंक्शन परिभाषा पर विचार कीजिए:
int f(int x, int y)
{ x = x+y; y = x-y; x=x-y; printf("%d, %d", x, y);}
यदि मुख्य प्रोग्राम में फंक्शन को f(3, 9); के रूप में कॉल किया जाता है, तो आउटपुट कितनी होगी?
1
3, 9
2
12, 9
3
3, 12
4
9, 3