sorry guys cudnt put question properly :P..my bad ..:((

the question i wanted to ask was

Why cant functions  be declared or defined in structures in  C but can be
done in C++ ?

On Thu, Aug 4, 2011 at 2:45 PM, Himanshu Srivastava <
[email protected]> wrote:

> afcose strcutures can be declared.............classes are not declared!!!
>
>
> On Fri, Aug 5, 2011 at 12:13 AM, Dipankar Patro <[email protected]>wrote:
>
>> Structures can very well be declared in C:
>> struct student{
>>     char name[20];
>>     int roll;
>> }s1;
>>
>> Are you talking about Classes?
>>
>>
>> On 4 August 2011 23:51, Ankur Garg <[email protected]> wrote:
>>
>>> Why cant structures be declared or defined in C but can be done in C++ ?
>>>
>>>
>>> What is the reason for this ?
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>>
>> ___________________________________________________________________________________________________________
>>
>> Please do not print this e-mail until urgent requirement. Go Green!!
>> Save Papers <=> Save Trees
>>
>> --
>> 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.
>>
>
>  --
> 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.
>

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