Questions

Q:

Write a c program to check whether a number is strong or not.

Answer

#include<stdio.h>
int main(){
  int num,i,f,r,sum=0,temp;

  printf("Enter a number: ");
  scanf("%d",&num);
 
  temp=num;
  while(num){
      i=1,f=1;
      r=num%10;

      while(i<=r){
         f=f*i;
        i++;
      }
      sum=sum+f;
      num=num/10;
  }
  if(sum==temp)
      printf("%d is a strong number",temp);
  else
      printf("%d is not a strong number",temp);

  return 0;
}

Sample output:
Enter a number: 145
145 is a strong number

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2028
Q:

What country has the largest Muslim population?

Answer

Indonesia

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

1 2028
Q:

In the following question, four words are given out of which one word is incorrectly spelt. Find the incorrectly spelt word.

A) Entrepreneur B) Remuneration
C) Apprentice D) Soveriegnity
 
Answer & Explanation Answer: D) Soveriegnity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 2028
Q:

He has the irritating habit of playing his own trumpet all the time.

A) blowing his own trumpet B) pumping his own trumpet
C) bringing up his own trumpet D) No improvement
 
Answer & Explanation Answer: A) blowing his own trumpet

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2028
Q:

A sentence has been given in Direct/Indirect Speech. Out of the four given alternatives, select the one which best expresses the same sentence in Indirect/Direct Speech.

 

“How clever you are!” he said.

 

A) He exclaimed that she is clever. B) He said how clever she was.
C) How clever she was, he said. D) He exclaimed that she was very clever.
 
Answer & Explanation Answer: D) He exclaimed that she was very clever.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2028
Q:

Who is a major driving force behind the 'Narmada Bachao Andolan'?

A) Anna Hazare B) Medha Patkar
C) Shantha Sinha D) Manasi Pradhan
 
Answer & Explanation Answer: B) Medha Patkar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 2028
Q:

In the following question, out of the four alternatives, choose the word which best expresses the meaning of the given word and click the button corresponding to it.
ADAPT

A) BRING UP B) ADJUST
C) ENCOURAGE D) SERVE
 
Answer & Explanation Answer: B) ADJUST

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2028
Q:

In the following question, out of the four alternatives, choose the word which is opposite in meaning to the given word and click the button corresponding  to it.

EVADE

A) INVADE B) ESCAPE
C) SHUN D) CONFRONT
 
Answer & Explanation Answer: D) CONFRONT

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2027