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

What is SCSI?

Answer

SCSI - Small computer systems interface is a type of interface used for computer components such as hard drives, optical drives, scanners and tape drives. It is a competing technology to standard IDE (Integrated Drive Electronics).

Report Error

View answer Workspace Report Error Discuss

0 1978
Q:

Rise in sugar levels in blood is detected by the cells of:

A) Liver B) Gall bladder
C) Kidney D) Pancreas
 
Answer & Explanation Answer: D) Pancreas

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT

4 1977
Q:

Improve the bracketed part of the sentence.
The mobile phones have made digital cameras a little (superfluous) in today's world.

A) extinct B) obsolete
C) redundant D) No improvement
 
Answer & Explanation Answer: B) obsolete

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1977
Q:

Rearrange the parts of the sentence in correct order.
 
The whole biosphere, like
 
P : a chemically dynamic state
Q : the individual organisms that
R : live inside it, exists in

A)

RQP

B)

QRP

C)

QPR

D)

PQR

 
Answer & Explanation Answer: B)

QRP



Explanation:
Report Error

View Answer Report Error Discuss

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

1 1977
Q:

The taper on the lathe spindle is

A) 1 in 10 B) 1 in 20
C) 1 in 15 D) 1 in 25
 
Answer & Explanation Answer: B) 1 in 20

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

4 1976
Q:

Which is the largest milk producing country in the world?

A) China B) USA
C) India D) Brazil
 
Answer & Explanation Answer: B) USA

Explanation:
Report Error

View Answer Report Error Discuss

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

1 1976
Q:

Select the synonym of
to preside

A) to acquiesce B)  to concur
C) to officiate D) to accord
 
Answer & Explanation Answer: C) to officiate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1976