Questions

Q:

Write a c program to print multiplication table

Answer

 #include<stdio.h>
int main(){
  int r,i,j,k;
  printf("Enter the number range: ");
  scanf("%d",&r);
  for(i=1;i<=r;i++){
      for(j=1;j<=10;j++)
           printf("%d*%d=%d ",i,j,i*j);
      printf("\n");
  }
  return 0;
}

Sample Output:
Enter the number range: 5

1*1=1 1*2=2 1*3=3 1*4=4 1*5=5 1*6=6 1*7=7 1*8=8 1*9=9 1*10=10
2*1=2 2*2=4 2*3=6 2*4=8 2*5=10 2*6=12 2*7=14 2*8=16 2*9=18 2*10=20
3*1=3 3*2=6 3*3=9 3*4=12 3*5=15 3*6=18 3*7=21 3*8=24 3*9=27 3*10=30
4*1=4 4*2=8 4*3=12 4*4=16 4*5=20 4*6=24 4*7=28 4*8=32 4*9=36 4*10=40
5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 5*6=30 5*7=35 5*8=40 5*9=45 5*10=50

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2158
Q:

What organelle carries out photosynthesis?

A) Chloroplasts B) Ribosomes
C) Chromosomes D) All of the above
 
Answer & Explanation Answer: A) Chloroplasts

Explanation:

Chloroplasts contains chlorophyll, the green substance in plants that allows them to create food from carbon dioxide and water called as photosynthesis.

 

Report Error

View Answer Report Error Discuss

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

5 2158
Q:

Point out the error, if any, in the following program.

main()

{

    int a = 10;

    void f();

    a = f();

    printf ( "\n %d", a );

}

void f()

{

    printf ( "\n Hi ");

}

Answer

In spite of defining the function f() as returning void, the program is trying to collect the value returned by f() in the variable a.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2157
Q:

Pen name of Charles Dickens?

A) Boz B) Ba Jin
C) BB D) Cassandra
 
Answer & Explanation Answer: A) Boz

Explanation:

Charles Dickens pen name is Boz. Charles John Huffam Dickens was a British English writer and social critic of 19th century. He created some of the world's best-known fictional characters and is regarded by many as the greatest novelist of the Victorian era.

Report Error

View Answer Report Error Discuss

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

0 2156
Q:

Brown stains in vessels and clothes indicate the presence of high quantities of ________ in water

A) Magnesium B) Calcium
C) Manganese D) Chromium
 
Answer & Explanation Answer: C) Manganese

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 2156
Q:

Which of the following has the shortest wavelength?

A) Gamma rays B) Radio waves
C) Microwaves D) Infrared rays
 
Answer & Explanation Answer: A) Gamma rays

Explanation:

Gamma rays has the shortest wavelength and radio waves has the longest wavelength.

Report Error

View Answer Report Error Discuss

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

2 2156
Q:

Microorganisms that cause disease are called

A) Pathogens B) Microbes
C) Infectees D) None of the above
 
Answer & Explanation Answer: A) Pathogens

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2155
Q:

In national income accounting, government purchases include

A) Federal B) Local
C) State D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

In national income accounting, government purchases by Local, State and Federal governments.

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 2155