Saturday, November 16, 2024

string pointer

 #include <stdio.h>


int main()

{

    char a[]="aeiou";

    char *p;

    p=a;

    printf("%c",*p++);

    puts(a);


    return 0;

}

No comments:

Post a Comment