Questions

Q:

Write a program to generate the Fibonacci series in c?

Answer

 #include<stdio.h>
int main(){
    int k,r;
    long int i=0l,j=1,f;

    //Taking maximum numbers form user
    printf("Enter the number range:");
    scanf("%d",&r);

    printf("FIBONACCI SERIES: ");
    printf("%ld %ld",i,j); //printing firts two values.

    for(k=2;k<r;k++){
         f=i+j;
         i=j;
         j=f;
         printf(" %ld",j);
    }
 
    return 0;
}

Sample output:
Enter the number range: 15
FIBONACCI SERIES: 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2306
Q:

The NAM sumit which demanded expansion of the United Nation Security Council had met at

A) Cairo B) Jakarta
C) Teheran D) Harare
 
Answer & Explanation Answer: B) Jakarta

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

1 2306
Q:

The highest cricket ground in world is at

A) London B) India
C) New Zealand D) Australia
 
Answer & Explanation Answer: B) India

Explanation:

The highest cricket ground in world is in India at Himachal Pradesh. Himachal Pradesh Cricket Association Stadium, Dharamshala, is situated at 4780 feet above the sea level and is one of the most beautiful stadium in the world.

the_highest_cricket_ground_in_the_world_is1550034159.jpg image

Report Error

View Answer Report Error Discuss

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

3 2306
Q:

Select the antonym of
Humdrum

A) tedious B) trite
C) drab D) fascinating
 
Answer & Explanation Answer: D) fascinating

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams

0 2306
Q:

The hormone associated with aggression seems to be

A) Testosterone B) Adrenaline
C) Estrogen D) Peptone
 
Answer & Explanation Answer: A) Testosterone

Explanation:

Testosterone is the hormone which is associated with aggression.

Report Error

View Answer Report Error Discuss

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

1 2305
Q:

M is a 7 letter word, M is impossible for GOD, The poor have M and The rich look for M from the poor, If you eat M you will die, M is more important than your life. I swear i will give you M if you get the answer. What is M?

Answer

The required 7 letter English word is NOTHING.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: Bank Exams

7 2305
Q:

This is an ancient invention that allows people to see through the walls. What is it?

Answer

I am a Window, allows people to see through walls.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: Bank Exams
Job Role: Bank Clerk

8 2304
Q:

Which one of the following is the cause for a change in the season?

A) Earth’s Rotation and Revolution B) Earth’s Rotation
C) Earth’s Revolution D) None of the above
 
Answer & Explanation Answer: C) Earth’s Revolution

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 2304