Write a program to check armstrong number in c?


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

Post New Answer

More C Interview Questions

what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}

9 Answers   TCS,


main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }

9 Answers   TCS,


A stack can be implemented only using array?if not what is used?

3 Answers   InterGlobal,


How to print %d in output

6 Answers   Wipro,


What is the difference between formatted&unformatted i/o functions?

0 Answers  






What's the difference between constant char *p and char * constant p?

0 Answers   Celstream,


How can I increase the allowable number of simultaneously open files?

1 Answers   ABC,


Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147

2 Answers  


Does c have class?

0 Answers  


What is difference between %d and %i in c?

0 Answers  


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


What are the types of bitwise operator?

0 Answers  


Categories