Questions

Q:

C program to find the factorial of a given number

Answer

 #include<stdio.h>
int main(){
  int i=1,f=1,num;

  printf("Enter a number: ");
  scanf("%d",&num);

  while(i<=num){
      f=f*i;
      i++;
  }

  printf("Factorial of %d is: %d",num,f);
  return 0;
}

Sample output:
Enter a number: 5
Factorial of 5 is: 120

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2078
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correct alternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

A city that is set on a hill cannot be hidden.

A) be hid B) hide
C) be hiding D) no improvement
 
Answer & Explanation Answer: D) no improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

The sentences given with blanks are to be filled with an appropriate word(s). Four alternatives are suggested for each question. For each question, choose the correct alternative and click the button corresponding to it.

The starving man _____ able to walk.

A) can barely B) were barely
C) are barely D) was barely
 
Answer & Explanation Answer: D) was barely

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

In the following question, a sentence / a part of sentence is underlined. Below are given alternatives to the underlined part which may improve the sentence. Choose the correct alternative. In case no improvement is required, choose "No Improvement" option.

 

Raja is a bad singer, he is tone-deaf.

A) stone-deaf B) deaf
C) tune-deaf D) No improvement
 
Answer & Explanation Answer: D) No improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

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

A) To make someone fool B) To make space to red
C) To take revenge D) To waste time by doing foolish things
 
Answer & Explanation Answer: D) To waste time by doing foolish things

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

In the following question, out of the four alternatives, select the word opposite in meaning to the word given.
Panegyric

A) Noxious B) Criticism
C) Fantasy D) Grandeur
 
Answer & Explanation Answer: B) Criticism

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2077
Q:

AtalSetu is built across which river in Goa?

A) Ganges B) Mandovi
C) Mahanadi D) Narmada
 
Answer & Explanation Answer: B) Mandovi

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2077
Q:

What is flag?

Answer

Flag is a flip-flop used to store the information about the status of a processor and the status of the insturction executed most recently.


A software or hardware mark that signals a particular condition or status. A flag is like a switch that can be either on or off. The flag said to be set when it is turned on.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2077