gpt4 book ai didi

c - 请解释以下 C 程序的输出。

转载 作者:太空宇宙 更新时间:2023-11-04 05:49:51 25 4
gpt4 key购买 nike

<分区>

Can anyone explain the working of the following code step by step?

#include<stdio.h>
main()
{
char s[ ]="Hello";
int i;
for(i=0;s[i];i++)
printf("%c%c%c%c\t",s[i],i[s],*(s+i),*(i+s));
}

I am getting the output as "HHHH eeee llll llll oooo" but I am not able to understand its working.

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com