strings using while loop Get link Facebook X Pinterest Email Other Apps November 07, 2023 #include<stdio.h>int main(){ char a[]="hello"; char *ptr=a; while(*ptr!='\0') { printf("%c",*ptr); ptr++;}} Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment