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 2034
Q:

Which of the following tennis player recently won his 99th career title in his hometown?

A) Roger Federer B) Novak Djokovic
C) Alexander Zverev D) None of the above
 
Answer & Explanation Answer: A) Roger Federer

Explanation:

Roger Federer, a star tennis player won his 99th career title in his hometown, Switzerland.

Report Error

View Answer Report Error Discuss

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

0 2034
Q:

The "Operation Olympics" commences in?

A) Karnataka B) Kerala
C) Jharkand D) Odisha
 
Answer & Explanation Answer: B) Kerala

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

3 2034
Q:

What is the theme of the "Asia LPG 2019 Summit"?

A) LPG – Energy for Life B) LPG – Petroleum for Life
C) LPG for Life D) None of the above
 
Answer & Explanation Answer: A) LPG – Energy for Life

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2034
Q:

Yoga is originated in which country?

A) India B) China
C) Japan D) Germany
 
Answer & Explanation Answer: A) India

Explanation:

Yoga is originated in India during 11th century.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2034
Q:

Eight States have achieved more than 99% household electrification prior to the launch of 'Saubhagya Scheme'. Which one of the following is not among them?

A) Kerala B) Punjab
C) Himachal Pradesh D) Madhya Pradesh
 
Answer & Explanation Answer: D) Madhya Pradesh

Explanation:

Saubhagya –‘Pradhan Mantri Sahaj Bijli Har Ghar Yojana’ was launched in September2017 with the aim to provide access to electricity to all remaining households in the country.Eight States which have already achieved more than 99 percent household electrification prior to launch of Saubhagya scheme are ineligible for participation under the award scheme. These eight states are Andhra Pradesh, Gujarat, Goa, Haryana, Himachal Pradesh, Kerala, Punjab and Tamil Nadu.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 2034
Q:

During the meeting of the Board of Directors of IDFC Bank, IDFC Bank proposed to change its name to

A) Capital IDFC Bank Ltd B) IDFC Chit Fund Bank
C) First IDFC Bank D) IDFC First Bank Ltd
 
Answer & Explanation Answer: D) IDFC First Bank Ltd

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2033
Q:

Which country ropes in space technology to track border management?

A) Russia B) Japan
C) India D) China
 
Answer & Explanation Answer: C) India

Explanation:

India ropes in space technology to track border management.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2033