Hi,
Can anyone tell me,whether 'this' pointer is simple pointer to a perticular object or a const pointer to perticular object?
Thanks in advance..
User Profile
Collapse
-
Thanks for ur reply.. -
Initializing structure member( char array)
I have declared an char array in my structure.After creating instance of the structure,i initialized its members in following way.
structure student
{
char name[20];
int rol_no;
}
int main()
{
student s1;
s1.name = "jimmy";
// some more statements..
}
this code gives me compilation error as "lvalue required before...
No activity results to display
Show More
Leave a comment: