Aşağıdaki C programı çalıştırıldığında bu programın çıktısı ne olur?
1 2 3 4 5 6 7 8 9 10 11 12 |
#include <stdio.h> int main() { int x, y, z, t; x = y = z = t = 1; x = ++y > 1 || z++ > 1 && ++t > 1; printf("%d%d%d%d", x, y, z, t); return 0; } |
Sentaks hatası (derleme zamanı hatası)
Tanımsız davranış.
Derleyiciye göre değişir.