c condition quiz

C Condition Quiz [Completed – Winner : Ritutosh]

Quiz C Language + Chance To Earn 150/- Rs.

Hello Developer, this is 3rd quiz on C condition quiz. This is half week quiz. Final Result will be declare on 03-01-2017..

 

Program on C Condition Quiz Details

int x = 127;
int y = 223;
int ans = 0;
char op = ‘*’;
switch(op)
{

case ‘+’:
ans = x+y;
case ‘*’:
ans = x*y;
case ‘>’:
ans = (x>y) ? x : y;
case ‘&’:
ans = x&y;
break;
default:
ans = 0;

}
printf(“Answer = %d\n”,ans);

Before give this program output, follow this simple steps

Step – 1 

Add Your Answer in Comment Box.

Step – 2

Fill Your Name and Email Information in Comment.

Step – 3

This Quiz is working only 1 week [30-12-2016 to 03-01-2017]. Do not add your answer after 03-01-2017.

Step – 4

Do not insert two time Answer of this Quiz

Step – 5

Subscribe in YouTube Channel For Next Quiz Details :

Step – 6

We randomly select one  correct Answer and give 150/-

 


 

Final Answer of 3rd C Condition + Operator Quiz

Turbo C Answer [Please check this program in Turbo C Compiler]

Answer = 95


About Program :

Here Operator Op : ‘*’

First Flow : ans =  x*y

But Program Not Found break keyword, so move to ‘>’ Operator

Second Flow : ans = (x>y) ?  : x : y;

Again Not Found break keyword, so move to ‘&’ bitwise operator ‘&’

Third Flow : ans = x&y;

& is bitwise operator, so we have to convert x = 127 and y=223 into binary numbers.

1286432168421O/P
12701111111 
22311011111 
&0101111195

So Final Answer = 95


List Of Quiz Winner…  [We will select randomly one developer from below list.]

RIZWAN ALI KHAN

BHAVESH LAKHAPATI

MAYANK BORAD

RITUTOSH RATURI

KRISHNA DEVASHISH

AMEE PATEL

HETAL MORI

 


We will send email to all winner with final selected developer in 2 hours..

 

Next quiz will be declare  within 2 hours…  Ready for next quiz..

 

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

1291total visits,41visits today


mayank

Hello, I am Maddy a Java blogger, trainer and developer

Related articles

31 Comments

    • December 31, 2016 - 9:04 am

      Nice Answer Karl Karlsson…

      Final Answer will be declare on 03-01-2017…

      Happy New Year in Advance..

  1. patel sahil jaykrushna
    December 31, 2016 - 1:12 pm

    28321

    • December 31, 2016 - 6:53 pm

      Thank you Patel Sahil J.

      Final answer will be declare on 03-01-2017

      Please subscribe YouTube Channel for more quiz..

  2. Raghav Brahmbhatt
    December 31, 2016 - 1:12 pm

    28321

    • December 31, 2016 - 6:52 pm

      Thank you Raghav Brahmbhatt

      Final answer will be declare on 03-01-2017

      Please subscribe YouTube Channel for more quiz..

  3. Rizwan Ali Khan
    January 1, 2017 - 7:24 pm

    Answer=95

  4. Bhavesh Lakhapati
    January 1, 2017 - 9:35 pm

    95

    • January 1, 2017 - 10:24 pm

      Thank you for Answer Bhavesh Lakhapati..

      Final Answer will be declare on 03-01-2017

      Please subscribe our YouTube Channel for more quiz..

  5. Rizwan
    January 1, 2017 - 10:11 pm

    Answer=95

    • January 1, 2017 - 10:24 pm

      Thank you for Answer Rizwan

      Final Answer will be declare on 03-01-2017

      Please subscribe our YouTube Channel for more quiz..

  6. Mayank Borad
    January 2, 2017 - 11:33 am

    Ans Is 95

    • January 2, 2017 - 11:36 am

      Thank you Mayank Borad…

      Final Answer will be declare tomorrow …

      Please share our website to more friend for more quiz and complicated quiz…

  7. Hely P Patel
    January 2, 2017 - 12:08 pm

    Answer = 28321

    • January 2, 2017 - 3:27 pm

      Thank you Help P Patel

      Final Answer will be declare on tomorrow…

      Please subscribe on YouTube Channel for more quiz

  8. ritutosh raturi
    January 2, 2017 - 12:09 pm

    95

    • January 2, 2017 - 3:27 pm

      Thank you Ritutosh Raturi

      Final Answer will be declare on tomorrow…

      Please subscribe on YouTube Channel for more quiz

  9. Krishna Devashish
    January 2, 2017 - 2:48 pm

    Answer=95

    • January 2, 2017 - 3:26 pm

      Thank you Krishna Devashish

      Final Answer will be declare on tomorrow…

      Please subscribe on YouTube Channel for more quiz

  10. kevin pipaliya
    January 2, 2017 - 3:23 pm

    127

    • January 2, 2017 - 3:32 pm

      Thank You Once Again Kevin Pipaliya…

      Final Answer will be declare on tomorrow…

  11. Amee Patel
    January 2, 2017 - 5:29 pm

    Answer = 95

    • January 2, 2017 - 7:34 pm

      Nice Answer Amee Patel…..

      Final Answer will be declare on tomorrow

      Please subscribe and share our website…

  12. Hetal Mori
    January 2, 2017 - 5:30 pm

    Answer = 95

    • January 2, 2017 - 7:33 pm

      Nice Answer Hetal Mori…..

      Final Answer will be declare on tomorrow

      Please subscribe and share our website…

  13. Hetal koshti
    January 2, 2017 - 9:44 pm

    Answer=28321

    • January 2, 2017 - 10:13 pm

      Nice Answer Hetal Koshti…

      Final Answer will be declare on 03-01-2017…

      Please subscribe and share our website..

  14. Dhruvil Bavishi
    January 3, 2017 - 10:07 am

    Answer = 28321

    • January 3, 2017 - 11:11 am

      Thank you for replay Dhruvil Bavishi…

      Final Answer will be declare in just 1 hour…

      Please subscribe our YouTube Channel for more java quiz..

  15. Gunda Shiva kumar
    January 3, 2017 - 12:36 pm

    Answer = 95

    • January 3, 2017 - 3:18 pm

      Thank You Gunda Shiva Kumar about Quiz 3…

      But quiz is already closed at 12:00 O’Clock..

      But don’t worry.. next quiz will be declared in 2 hours.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your comments (*)

Name (*)

Your full name please.

Email address (*)

Used for gravatar.

Website

Link back if you want.

Enter Captcha Here :*

Reload Image

EmailEmail
PrintPrint