Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is the use of bit field?

0 Answers  


what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }

1 Answers   Motorola,


Can you please compare array with pointer?

0 Answers  


How does normalization of huge pointer works?

0 Answers  


What is the difference between new and malloc functions?

0 Answers   InterGraph,


What is a pointer in c?

3 Answers  


what is the difference between NULL & NUL keywords in C?

3 Answers  


Explain following declaration int *P(void); and int (*p)(char *a);

3 Answers  


how can i get this by using for loop? * ** * **** * ******

3 Answers   Excel,


what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }

4 Answers  


c program to arrange digits in a no in ascending and descending order

1 Answers  


write a C code to reverse a string using a recursive function, without swapping or using an extra memory.

9 Answers   Motorola, TCS, Wipro,


Categories