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

if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item

2 Answers  


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

0 Answers  


How can you increase the size of a dynamically allocated array?

0 Answers   TISL,


what is the difference between static variable and register variable?

3 Answers  


How do you define structure?

0 Answers  


Why doesn't C support function overloading?

2 Answers  


b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720

1 Answers   HCL,


a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above

3 Answers  


how do you redirect stdout value from a program to a file?

1 Answers  


wap in c to accept a number display the total count of digit

4 Answers  


inline function is there in c language?

4 Answers  


How to write a multi-statement macro?

0 Answers  


Categories