Home / C# Programming / Control Instructions - c# :: Discussion

Discussion :: Control Instructions - c#

  1.  

    Which of the following is another way to rewrite the code snippet given below?

    int a = 1, b = 2, c = 0;
     if (a 

     

  2. A.
    int a = 1, b = 2, c = 0; 
    c = a 0;
    B.
     int a = 1, b = 2, c = 0;
     a 0;
    C.
     int a = 1, b = 2, c = 0;
     a 0 ? 0 : 0;
    D.
     int a = 1, b = 2, c = 0;
     a return (c): return (0);
    E.
     int a = 1, b = 2,c = 0;
     c = a 0;

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment