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

Mann Ki Baat is an Indian radio programme was officially launched in which of the following years?

A) 2015 B) 2014
C) 2017 D) 2016
 
Answer & Explanation Answer: B) 2014

Explanation:

Indian radio programme 'Mann Ki Baat' was officially launched on 3rd October, 2014.

Report Error

View Answer Report Error Discuss

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

1 2208
Q:

Lacto-ovo vegetarians would not eat

A) Fish and egg B) Egg, meat and milk products
C) Meat, poultry, milk products D) Meat, poultry, fish
 
Answer & Explanation Answer: D) Meat, poultry, fish

Explanation:

Lacto-ovo vegetarians who eat milk products and eggs but would not eat Meat, poultry, fish.

Report Error

View Answer Report Error Discuss

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

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

Which state declared dolphin as State aquatic animal?

A) Telangana B) Uttar Pradesh
C) Punjab D) Goa
 
Answer & Explanation Answer: C) Punjab

Explanation:

The Punjab state declared dolphin as State aquatic animal.

Report Error

View Answer Report Error Discuss

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

1 2207
Q:

Which determines the frequency of a sound wave?

A) Amplitude B) Speed
C) Source D) Medium
 
Answer & Explanation Answer: A) Amplitude

Explanation:

The frequency of a sound wave is determined by the amplitude of the wave. As amplitude of the wave is high the frequency of the wave will also be high.

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 2206
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:

Read each sentence to find out whether there is any grammatical error in it. The error, if any, will be in one part of the sentence. If there is no error, the answer is ‘No error’. (Ignore the errors of punctuation, if any.

Their innovative zeal has / touched the lives of 125 crore / Indians and make India/proud worldwide./ No error

A) Their innovative zeal has B) touched the lives of 125 crore
C) Indians and make India D) proud worldwide.
 
Answer & Explanation Answer: C) Indians and make India

Explanation:

'and made India' should be used to make the sentence grammatically correct. You use 'made' when referring to things already done in the past.'Make' is present and its continuous its still been done unlike 'made' which refers to what has been done

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2206