Hi Frnds,
                 Why overloaded operator won't work for derived calss when we 
supply  operator overloading method in base class and also we derived using  
public. Can any one of you please suggest.
  
  
  

Rajesh <[EMAIL PROTECTED]> wrote:                                               
         
#include   <stdio.h>
#include <conio.h>
int main()
{
 int   i,j,res=1;
 printf("Enter the No :   ");
 scanf("%d",&i);
 for(j=1;j<=i;j++)
 {
  res=res*j;
 }
 printf("The   Factorial of %d is %d\n",i,res);
 getch();
 return   0;
}
      
    -----Original Message-----
From:     [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of     
arun kumar
Sent: Wednesday, February 14, 2007 11:39     AM
To: [email protected]
Subject: [c-prog]     help


            
Hi
    Pls send me program to calculate the factorial of given no. 
     
     
    Thks,
     
    Arun,
        

---------------------------------
    We won't tell. Get more on shows     you hate to love
(and love to hate): Yahoo!     TV's Guilty Pleasures list.    

  
      
                                    

 
---------------------------------
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

Reply via email to