0
Follow
0
View

Questions about struct Pointers and strings(language -c)

dlstonefly 注册会员
2023-02-27 13:28

No, need to use the string comparison function, because the Shandong string store address and you are not the same

dzy213127 注册会员
2023-02-27 13:28
sonbinsonbin 注册会员
2023-02-27 13:28

No, this comparison is to determine whether the address is the same, obviously it is different
" Shandong "is a constant string, your previous addr cannot be the same as this temporary constant string address, So you have to compare it with strcmp

About the Author

Question Info

Publish Time
2023-02-27 13:28
Update Time
2023-02-27 13:28

Related Question

Information about LinkedIn API Request

Nullpointers-Alpha Sprint-Summary

只有包可见性的Mapstruct + Lombok Builder

在PostConstruct中使用事务

关于struct的类型

javascript 的 constructor属性

Mapstruct在映射时出现嵌套实体问题

pandas报错ValueError: DataFrame constructor not properly called!

如何使用restructuredtextformatting和python上传csv文件-或者设置什么参数?

在Autodesk Construction Cloud中使用Forge获取默认属性“Description”的值