What is the error??? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
27th Mar 2019, 6:30 AM
Nasir❤
Nasir❤ - avatar
3 Antworten
+ 2
#include <stdio.h> #define A (-B) #define B (-C) #define C (5) int main() { printf("%d",A); return 0; } I hope that helps
28th Mar 2019, 2:21 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
B is not declared, there is no space after define. I canot understand the erro e but undefined b causes a to become undefined.
27th Mar 2019, 6:38 AM
Anshumaan Mishra
0
#include <stdio.h> #define C 5 #define B -C #define A -B int main() { printf("%i", A); return 0; }
5th Apr 2019, 4:15 AM
Edison
Edison - avatar