RE:
Difference between "C structure" and "C++ structure".
The defination of the structure in C is limited to within the module and cannot be initialized outside its scope. Where as in C++ you can initialize the objects anywhere within the boundaries of the project.
RE: Difference between "C structure" and "C++ structu...
Mr Rohan,
I actually tried saving the code you have given with extention .c and .cpp and it runs for both... So, I dont understand how you are saying that methods are possible only in the case of structures of cpp... could you clarify my query?
RE:
Difference between "C structure" and "C++ structure".
Turbo C will allow you to run the above code with .c extension.But try running the code in Dev C++ (this is another IDE) this will give you error. I guess Dev C++ uses "gcc"