Questions

Q:

Why we use do-while loop in c?

Answer

It is also called as post tested loop. It is used when it is necessary to execute the loop at least one time. Syntax:

do {
Loop body
} while (Expression);

Example:

int main(){
    int num,i=0;  
    do{
         printf("To enter press 1\n");
         printf("To exit press  2");
         scanf("%d",&num);
         ++i;
         switch(num){
             case 1:printf("You are welcome\n");break;
             default : exit(0);
         }
    }
    while(i<=10);
    return 0;
}

Output: 3 3 4 4

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2057
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

Lend me your ear

A) To politely ask for someone's full attention B) Begging someone to listen to your grievances
C) When nobody is willing to hear your side of the story D) Call someone for severe scolding.
 
Answer & Explanation Answer: A) To politely ask for someone's full attention

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL
Job Role: Bank Clerk , Bank PO

0 2057
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence. 
 
Of or connected with the sense of touch

A) Apperception B) Eavesdrop
C) Tactile D) Hark
 
Answer & Explanation Answer: C) Tactile

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT
Job Role: Bank PO , Bank Clerk

0 2057
Q:

Which of the following is not a Fundamental Right?

A) Right To Freedom Of Speech And Expression B) Right To Employment
C) Right To Equality D) Right To Education
 
Answer & Explanation Answer: B) Right To Employment

Explanation:

Fundamental Rights are the basic rights of the common people and inalienable rights of the people who enjoy it under the charter of rights of Constitution of India.

 

The six fundamental rights recognised by the Indian constitution are::

the right to equality,

right to freedom,

right against exploitation,

right to freedom of religion, cultural and educational rights,

right to constitutional remedies.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2057
Q:

Common styles of leadership include

A) Autocratic leadership B) Transactional leadership
C) Democratic leadership D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

There are 9 common styles of leadership. They are:

 

Transformational leadership

Transactional leadership

Servant leadership

Autocratic leadership

Laissez-faire leadership

Democratic leadership

Bureaucratic leadership

Charismatic leadership.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2056
Q:

The group of solar cells joined together in a definite pattern is called a

A) Battery B) Solar Heater
C) Solar cooker D) Solar cell panel
 
Answer & Explanation Answer: D) Solar cell panel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 2056
Q:

Mutual Funds are regulated in India by

A) SEBI B) RBI
C) RBI & SEBI both D) Stock Exchanges
 
Answer & Explanation Answer: A) SEBI

Explanation:

Mutual Funds are regulated in India by SEBI (Securities and Exchange Board of India). It was founded in 1992. In 1996, SEBI formulated the Mutual Fund Regulation.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2056
Q:

Select the antonym of
generosity

A) altruism B) general
C) largesse D) malevolence
 
Answer & Explanation Answer: D) malevolence

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2056