Bonjour,
J'ai une fonction qui renvoie un char et
j'aurais besoin d'un pointeur sur ce char.
J'ai essayé ça:
mais j'ai une erreur:Code:
1
2 const char* p = &(func(2));
Je n'arrive pas à trouver la syntaxe exacte.Citation:
non-lvalue in unary `&'
Quelqu'un pourrait m'aider ?
Merci