Hi
I have a question Regarding structs and a class
when we declare instance of structure eg
employee e1 // employee is an structure
e1 is created on stack but we also declare instance like
emplyee e1 = new employee()
this time where is this instance created on heap ka ..
what is the difference ..

Likewise on the welcome front, but this isn't the place for support questions. You need to find the appropriate forum and ask there, giving as much detail as possible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.