You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently it leads to segmentation fault (which is probably related to this.
by fixing it, the segfault will be gone but still the value stored in f.b will be wrong (which is probably related to the way we store struct fields). the same thing works perfectly if we return a pointer to structs.
The text was updated successfully, but these errors were encountered:
consider the following code:
currently it leads to segmentation fault (which is probably related to this.
by fixing it, the segfault will be gone but still the value stored in
f.b
will be wrong (which is probably related to the way we store struct fields). the same thing works perfectly if we return a pointer to structs.The text was updated successfully, but these errors were encountered: