[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Interview Questions and Answers :: Juniper Network

8. int print_of_a (int a)
{
printf("in fun %d", a);
return a+1;
}

int print_of_x (int a)
{
printf("in fun %d", a);
return a-1;
}

int main()
{
int x;
printf("in main function \n");
x = print_of_a(3);
printf("%d", x);
printf("in main function \n");
x = print_of_x(3);
printf("%d", x);
}

Write down the output for the above code.

Answer:

No Discussion on this question yet!

Post Your Answer Here:      Public      Private

No Discussion on this question yet!