What is adrees in following code | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What is adrees in following code

In c https://code.sololearn.com/cD4xav9S4OCS/?ref=app

6th Jul 2021, 5:03 AM
Ankit Kumar
Ankit Kumar - avatar
1 Antwort
+ 3
you must add: #include <string.h> to use strcpy, and use pointer format to print address of m.num, and string format to print values of m.mess1 and m.mess2: printf ( "\n%p %s %s", &m.num, m.mess1, m.mess2 ) ;
6th Jul 2021, 5:11 AM
visph
visph - avatar