Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
void main()

{
     switch(2)

      {
            case 1L:printf("No");
            case 2L:printf("%s","I");
              goto Love;
            case 3L:printf("Please");
            case 4L:Love:printf("Hi");
     }
}

A) I B) IPleaseHi
C) IHi D) Compilation error
 
Answer & Explanation Answer: C) IHi

Explanation:

It is possible to write label of goto statement in the case of switch case statement.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 25191
Q:

What will output when you compile and run the following code?

#include <stdio.h>
struct student
{

int roll;
int cgpa;
int sgpa[8];

};

void main()
{

struct student s = { 12,8,7,2,5,9 };
int *ptr;
ptr = (int *)&s;
clrscr();
printf( "%d", *(ptr+3) );
getch();

}

A) 8 B) 7
C) 2 D) Compiler error
 
Answer & Explanation Answer: C) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 25191
Q:

The busiest  sea route is 

A) The Mediterranean Red-Sea Route B) The South Atlantic Route
C) The North Atlantic Route D) The Pacific Route
 
Answer & Explanation Answer: C) The North Atlantic Route

Explanation:

There are Industrially most developed countries on either side of the Atlantic Ocean.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

81 25174
Q:

National Rural Development Institute is situated at

 

A) Assam B) Patna
C) Shimla D) Hyderabad
 
Answer & Explanation Answer: D) Hyderabad

Explanation:

National Institute of Rural Development is situated in Hyderabad. It is an organization involved in rural research and training in rural development.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 25163
Q:

Mount Everest is located between

 

A) China & India B) India & Nepal
C) China & Nepal D) India & Myanmar
 
Answer & Explanation Answer: C) China & Nepal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams

5 25123
Q:

When formaldehyde and potassium hydroxide are heated , we get 

A) Acetylene B) Methyl alcohol
C) Methane D) Ethyl formate
 
Answer & Explanation Answer: B) Methyl alcohol

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

149 25099
Q:

Visible and invisible items of debit and credit are the part of___________.

 

A) import-export policy B) balance of payment
C) balance of trade D) annual budget
 
Answer & Explanation Answer: B) balance of payment

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 25091
Q:

A F Z U G L T _ 

Find the next letter in the above given letter series?

A) K B) M
C) O D) Q
 
Answer & Explanation Answer: C) O

Explanation:

Given series is A F Z U G L T _

Starts with A

A + 5 letters = F

go to end of alphabet= Z

Z - 5 letters = U

from F go one more to G + 5 letters = L

from U go one back to U, T - 5 letters = O

 

Second Method ::

Change the letters to their corresponding number.

A=1

B=2

C=3

...

Z=26

A F Z U G L T _

1 6 26 21 7 12 20 ?

Look at the pattern: the 1st and 3rd numbers = 27, 1+26

the 2nd and 4th numbers = 27, 6+21

the 5th and 7th numbers = 27,

so the 6 and 8th would also equal 27.

27 - 12 = 15,

so the letter is O.

Report Error

View Answer Report Error Discuss

74 25088