int a = 10, b = 20, m = 47, n = 96 ; abc ( &a, &b ) ;
wxy ( &m, &n);
printf ( "%d, %d, %d, %d", a, b, m, n ) ;
return 0;
}
abc( int *x, int *y )
{
int t ;
t = *x ;
t = xyz();
*x = *y ;
*y = t++ ;
}
wxy(int *p, int *q)
{
*p = *p/2+9-1;
*q = *p/2+71-2;
}
xyz()
{
int t;
t = 6/2-54/3-(5.6/4);
return(t);
}
" class="related-a">
What would be the output of the given C program?
int main( )
{
int a = 10, b = 20, m = 47, n = 96 ;
abc ( &a, &b ) ;
wxy ( &m, &n);
printf ( "%d, %d, %d, %d", a, b, m, n ) ;
return 0;
}
abc( int *x, int *y )
{
int t ;
t = *x ;
t = xyz();
*x = *y ;
*y = t++ ;
}
wxy(int *p, int *q)
{
*p = *p/2+9-1;
*q = *p/2+71-2;
}
xyz()
{
int t;
t = 6/2-54/3-(5.6/4);
return(t);
}