dimanche 13 octobre 2019

What does it mean in C Programming?

I'm just learning C Programming. But i didn't understand this code.Could you explain "x++" and "!x" ?

#include<stdio.h>
int main(){
int x;
x = -1;

if(x++) printf("A");
else printf("B");
if(!x) printf("C"); }

Aucun commentaire:

Enregistrer un commentaire