Q. Consider the C program shown below
#include <stdio.h>
#define print (a) printf (“%d”, a)
int a;
void A (int p)
{
p+ = a;
print (p);
}
void B(int *q)
{
int p = *q + 3;
A (a);
*q = a – 2;
print (a);
}
Main (void)
{
a = 6;
B(&a);
print(a);
}
The output of this program is
(a) 15, 7, 6 (b) 15, 7, 7
(c) 13, 7, 6 (d) 13, 7, 7