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

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

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2206
Q:

A persistent infection is one in which

A) viral replication is unusually slow B) the disease process occurs gradually over a long period
C) the virus remains in equilibrium with the host without causing a disease D) All of the above
 
Answer & Explanation Answer: B) the disease process occurs gradually over a long period

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2206
Q:

Four words are given, out of which only one word is spelt correctly. Choose the correctly spelt word and click the button corresponding to it.

A) Persemonious B) Persimonoius
C) Parsemonious D) Parsimonious
 
Answer & Explanation Answer: D) Parsimonious

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2206
Q:

Operating system is the most common type of

A) Application software B) Word processing
C) System software D) Communication software
 
Answer & Explanation Answer: C) System software

Explanation:

Operating system is the most common type of System software.

Report Error

View Answer Report Error Discuss

3 2205
Q:

What are the followers of Hinduism called

A) Brahmans B) Hindus
C) Sindhus D) Indus
 
Answer & Explanation Answer: B) Hindus

Explanation:

The followers of Hinduism are called Hindus.

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

What is the Budgetary allocation to the Pradhan Mantri Gram Sadak Yojana in 2019?

A) Rs 25,000 Crores B) Rs 19,000 Crores
C) Rs 15, 000 Crores D) Rs 28, 000 Crores
 
Answer & Explanation Answer: B) Rs 19,000 Crores

Explanation:

In 2019, the Budgetary allocation to the Pradhan Mantri Gram Sadak Yojana was Rs 19,000 Crores.

Report Error

View Answer Report Error Discuss

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

4 2204
Q:

What is the function of reverse transcriptase?

A) synthesis of RNA from protein B) synthesis of DNA from an RNA template
C) synthesis of protein from DNA D) synthesis of DNA from protein
 
Answer & Explanation Answer: B) synthesis of DNA from an RNA template

Explanation:

A reverse transcriptase (RT) is an enzyme used to generate complementary DNA (cDNA) from an RNA template by a process called Reverse Transcription.

In brief its function is that copies all or part of the virus RNA (retroviruses are RNA-only) as DNA which can then be integrated into the DNA of the host organism.

Report Error

View Answer Report Error Discuss

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

2 2204