+ 1
What is this in c ? Char *
void fun(char*,int *) { ............. ....... } I know that this is char *a character pointer but what is this char * plse explain with example
4 Respuestas
+ 2
char* foo is the same as char *foo.
+ 2
What is your question exactly? You don't know what a pointer is? It holds a memory address, and you can access the value pointed by prefixing it with * (this is called dereferencing).
Here is an example:
https://code.sololearn.com/cD7DfU0C87jg/?ref=app
+ 1
Zen i don't understand what you say can you explain briefly plse with example
+ 1
Zen i understand pointer thank you so much