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

Many European empires arose in the wake of

A) the expansion of African kingdoms like the Ghana B) Mongol invasions throughout the region
C) Hun invasions that triggered a mass migration D) the collapse of the Byzantine Empire
 
Answer & Explanation Answer: D) the collapse of the Byzantine Empire

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2330
Q:

What was established by the Americans, the British and the Canadians at Bretton woods in 1944?

Answer

The International Monetary Fund and the international Bank for Reconstruction and development.

Report Error

View answer Workspace Report Error Discuss

0 2330
Q:

What's the theme of Global Aviation Summit 2019?

A) Health for all B) Journey for all
C) Ticket for all D) Flying for all
 
Answer & Explanation Answer: D) Flying for all

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2330
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 2330
Q:

What is Mail Gateway

Answer

It is a system that performs a protocol translation between different electronic mail delivery protocols

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 2330
Q:

Animals in the Taiga and Alpine Biomes hibernate during winter.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

True, Animals in the Taiga and Alpine Biomes hibernate during winter.


 


The animals in taiga and alpine biomes have several different kind of adaptations for survival. Some animals that hibernate during the winter take the help of camouflage to protect itself from enemies. During this period of hibernation, they slow their rate of metabolism and also use less amount of energy to survive the harsh weather.

Report Error

View Answer Workspace Report Error Discuss

Subject: Animals and Birds
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

5 2329
Q:

Which is the largest milk producing country in the world?

A) China B) USA
C) India D) Brazil
 
Answer & Explanation Answer: B) USA

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2329