#include<stdio.h>
int main()
{
char ch[50];
gets(ch);
char *p;
p = &ch;
printf("Character is : %s\n", p);
printf("Memory Address of Character : %d\n", p);
return 0;
}
int main()
{
char ch[50];
gets(ch);
char *p;
p = &ch;
printf("Character is : %s\n", p);
printf("Memory Address of Character : %d\n", p);
return 0;
}
Comments
Post a Comment