what will be the output of the following statement? int a=5,b=6,c=9,d; d=((ac?1:2):(c>b?6:8)); printf('%d',d); - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
04 Dec 2020 06:37 PM study24x7 study24x7

what will be the output of the following statement? int a=5,b=6,c=9,d; d=((ac?1:2):(c>b?6:8)); printf("%d",d);

A

1

B

2

C

6

D

Error

study24x7
Write a comment
  • Dev kumar

  • 6 will be output.
    Related Questions
    500+   more Questions to answer