U can take command line argument in main
main(int argc,char * argv[ ])
{ for(i=argc-1,i>=0;i--) printf("%s ",argv[i]);
}On Tue, Sep 13, 2011 at 12:05 AM, hary rathor <[email protected]>wrote: > kapil : in your solution you are required extra O(n+n*sizeOf(int *)) both > memory to create a link list that really costly > > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards ANSHUL KHANDELWAL Final year Computer Engineering NIT Jaipur -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
