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

What is fragmentation?

Answer

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request.

Report Error

View answer Workspace Report Error Discuss

1 2153
Q:

Who has been conferred the Ashoka Chakra for year 2019?

A) Syam Prasad B) Ahmed Sunani
C) Nazir Ahmad Wani D) Vishnu wagh
 
Answer & Explanation Answer: C) Nazir Ahmad Wani

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

9 2153
Q:

Which keyboard shortcut bolds selected text?

A) CTRL + I B) SHIFT + CTRL + S
C) CTRL + B D) CTRL + SHIFT + I
 
Answer & Explanation Answer: C) CTRL + B

Explanation:

CTRL + B is computer keyboard shortcut bolds selected text.

CTRL + I is used for making the selected text italic

SHIFT + CTRL + S used for SAVE AS option for any document or file.

Report Error

View Answer Report Error Discuss

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

4 2153
Q:

Which of these is an example of a haploid cells?

A) Sperms B) Neurons
C) Red blood cells D) All of the above
 
Answer & Explanation Answer: A) Sperms

Explanation:

In the above options, sperms are the haploid cells. In humans, haploid cells are those have only half the number of usual number of chromosomes. Sperm, gamates and egg cells are the haploid cells examples.

Report Error

View Answer Report Error Discuss

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

4 2152
Q:

Which phrase best describes rough ER?

A) studded with ribosomes B) fewer solutes than the cell
C) stored in the central vacuole D) protected by vesicles
 
Answer & Explanation Answer: A) studded with ribosomes

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2152
Q:

Menstruation is triggered by a drop in the levels of

A) progesterone B) relaxin
C) FSH D) LH
 
Answer & Explanation Answer: A) progesterone

Explanation:

The principal hormone secreted by the corpus luteum is progesterone. Menstruation is triggered by a drop in the levels of progesterone.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

4 2151