What will happen if we point an integer pointer to the beginning of a character array and dereference it?

前端 未结 0 980
臣服心动
臣服心动 2020-12-12 23:52
#include 
int main()
{
    char s[]="ABCD EFGH";
    int *x=&s[0];
    printf("%d %d\\n", *x, x);
    x=s;
    printf("%d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题