Thats right in C++. How about in C.

On Mar 16, 9:44 pm, kumar anurag <[email protected]> wrote:
> @anurag good.....
> On Wed, Mar 16, 2011 at 9:28 PM, Anurag atri <[email protected]>wrote:
>
>
>
>
>
> > #include<iostream>
> > using namespace std ;
> > class a
> > {
> >         public :
> >         a() { cout<<"hello";}
> > }a1;
> > int main()
> > {
> > }
>
> > On Wed, Mar 16, 2011 at 8:25 PM, himanshu kansal <
> > [email protected]> wrote:
>
> >> How can u print "hello" in a c/c++ program without writing a single
> >> word in main() function....
>
> >> --
> >> 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
> > Anurag Atri
>
> > --
> > 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.
>
> --
> Kumar Anurag- Hide quoted text -
>
> - Show quoted text -

-- 
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.

Reply via email to