Why am i getting the output like this "lvalue required as decrement operand" when i run this program ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Why am i getting the output like this "lvalue required as decrement operand" when i run this program ?

#include <stdio.h> int main() { int a, b; a=-3--3; b=-3--(-3); printf("a= %d b= %d", a,b); return 0; }

1st Nov 2019, 12:41 PM
Sk. Ahmed Razha Khan
Sk. Ahmed Razha Khan - avatar
0 Réponse