[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.

C Programming :: Functions - Discussion

Home > C Programming > Functions > MCQs Questions Discussion

24 / 53

What is the output of the following 'C' program ?

#include <stdio.h>
void f1(int a)
{
if( a )
f2( a - 1 );
printf("%d", a);
}

void f2(int b)
{
 printf(".");
if(b)
f1( b - 1 );
}
int main(void)
{
f1(5);
}

A...135

B…5

C…234

D…124

ECompilation Error

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!