Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is a stack

6 Answers  


Can a file other than a .h file be included with #include?

0 Answers   Aspire, Infogain,


Is there anything like an ifdef for typedefs?

0 Answers  


why arithmetic operation can’t be performed on a void pointer?

1 Answers  


What is memmove?

1 Answers   Oracle,


What are the advantages of using macro in c language?

0 Answers  


Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain

2 Answers  


How to draw the flowchart for structure programs?

0 Answers  


What is the use of getchar() function?

0 Answers  


Do pointers take up memory?

0 Answers  


What is static memory allocation?

0 Answers  


write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }

1 Answers  


Categories