How this pointer acts like character array. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How this pointer acts like character array.

#include <iostream> using namespace std; int main() { char *p="mayank sahu"; cout<<p; return 0; }

7th Oct 2017, 2:29 AM
Mayank sahu
Mayank sahu - avatar
1 Antwort
7th Oct 2017, 5:01 AM
Debraj Das
Debraj Das - avatar