Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Gopal
2k
135
9.8k
Hi, how does this work without segfault?
Apr 12 2021 11:43 AM
Hi, how does this work without segfault? int main() { char *m = (char*)main; strcpy(m, "Hello!"); puts(m); }
Reply
Answers (
1
)
sizeof(variable_table); //8 sizeof(variables_table->variables); // 8 i
Are calls A and B semantically identical? Which is preferable?