61) Which operator has more precedance  in below list?

A. +

B.-

C. ++

D. *

Answer : C

62) What should be the output of below program?

int main()

{

int a=10; 

cout<<a++;

return 0;

}

A. 11

B. 10

C. Error

D. 0

Answer : B

63) Can we typecast void * into int *?

A. Yes

B. No

C. Undefined

D. Depends on Compiler

Answer : A

64) What is currect syntax of for loop?

A. for(initialization;condition; increment/decrement)

B. for(increment/decrement; initialization; condition)

C. for(initialization, condition, increment/decrement

D. None of These

Answer : A

65) #include<iostream.h>

    void Execute(int &x, int y = 200)

    {

      int TEMP = x + y;

      x+= TEMP;

      if(y!=200)

       cout<<TEMP<<x<<y”–“;

   }

     int main()

   {

     int A=50, B=20;

     cout<<A<<B<<“–“;

     Execute(A,B);

     cout<<A<<B<<“–“;

     return 0;

   }

A. 5020–5020–

B. 5020–7012020–12020–

C. 5020–70120200–5020

D. 5020–7050200–5020–

Answer : B

error: Content is protected !!