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

Your ad includes the phrase, "Your friend has a crush on you. See who!" and it gets disapproved. Why?

Answer

AdWords policy does not allow ads to simulate email inbox notifications or fake friend/crush requests.

Report Error

View answer Workspace Report Error Discuss

0 2155
Q:

Who is the the author and composer of the National Anthem (Jana Gana Mana) of India?

A) Rabindranath Tagore B) Bankim Chandra Chatterjee
C) Muhammad Iqbal D) Ram Singh Thakur
 
Answer & Explanation Answer: A) Rabindranath Tagore

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2155
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 2155
Q:

"Relief of the disabled and unemployable" is listed in the __________ list given in the Seventh Schedule in the Constitution of India.

A) Union B) State
C) Global D) Concurrent
 
Answer & Explanation Answer: B) State

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 2155
Q:

Which microscope is often used to view metal surfaces?

A) Optical microscopes B) Scanning tunneling microscopes
C) Electron microscopes D) None of the above
 
Answer & Explanation Answer: B) Scanning tunneling microscopes

Explanation:

Microscopes are of three types. They are :

 

1) Optical microscopes

 

2) Electron microscopes

 

3) Scanning tunneling microscopes

 

 Which_microscope_is_often_used_to_view_metal_surfaces1538720175.png image

 

Scanning tunneling microscopes are the microscopes that are used to view metal surfaces.

Report Error

View Answer Report Error Discuss

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

0 2155
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 2154