what is answer for perfect number????????????????



what is answer for perfect number????????????????..

Answer / david uwihoreye

Perfect number is a positive number which sum of all
positive divisors excluding that number is equal to that
number. For example 6 is perfect number since divisor of 6
are 1, 2 and 3. Sum of its divisor is
1 + 2+ 3 =6

Note: 6 is the smallest perfect number.

Next perfect number is 28 since 1+ 2 + 4 + 7 + 14 = 28
Some more perfect numbers: 496, 8128

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More C Interview Questions

Under what circumstances does a name clash occur?

0 Answers   InterGraph,


How to calculate Total working time using Login and logout?

2 Answers   CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,


Can you explain the four storage classes in C?

0 Answers   TCS,


What is difference between structure and union in c?

0 Answers  


What is the use of bit field?

0 Answers  






Explain argument and its types.

0 Answers  


What is the Lvalue and Rvalue?

2 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


What is structure padding ?

3 Answers   HP,


WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"

3 Answers  


char ch="{'H','I',0};printf("%s",ch);what is output

9 Answers   Accenture,


what about "char *(*(*a[])())();"

3 Answers   Oracle,


Categories