Operator terner di c
//Syntex: Expression1 ? Expression2 : Expression3
#include <stdio.h>
int main() {
int a = -1;
double b = 26.4231;
int c = a? printf("True value : %lf",b):printf("False value : 0");
return 0;
}
Tiny Coders