Thread: code help

  1. #1
    Registered User
    Join Date
    Nov 2011

    code help

    What will the output of the following code be if A is true, B is false and C is false at the time these lines are executed

    if(A&&C)cout<<"Do this\n";
    else if (B||A)cout<<"Do that\n"

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Chennai, India
    Quote Originally Posted by Jarr10 View Post
    What will the output of the following code.........
    Why don't you find out for yourself..?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 03-10-2010, 11:28 AM
  2. Replies: 14
    Last Post: 04-01-2008, 03:23 AM
  3. producing c/c++ code from flowcharts,pseudo code , algorithims
    By rohit83.ken in forum C++ Programming
    Replies: 3
    Last Post: 02-20-2008, 07:09 AM
  4. Having trouble translating psudeo-code to real-code.
    By Lithorien in forum C++ Programming
    Replies: 13
    Last Post: 10-05-2004, 08:51 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM
Website Security Test