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 2324
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 2323
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 2323
Q:

The main body of the United Nation organization is the 

A) Trusteeship Council B) General Assembly
C) Security Council D) Secretariat
 
Answer & Explanation Answer: B) General Assembly

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

2 2323
Q:

Comprehensive income includes all of the following except

A) expenses B) contributions by owners
C) extraordinary items D) losses
 
Answer & Explanation Answer: B) contributions by owners

Explanation:

Comprehensive income is the sum of net income and other items that must bypass the income statement because they have not been realized, including items like an unrealized holding gain or loss from available for sale securities and foreign currency translation gains or losses.

Report Error

View Answer Report Error Discuss

Filed Under: Finance
Exam Prep: Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2323
Q:

RBI issued currency notes under which system

A) Maximum Fiduciary System B) Proportional Reserve System
C) Fixed Fiduciary System D) Fixed Minimum Reserve System
 
Answer & Explanation Answer: D) Fixed Minimum Reserve System

Explanation:

RBI issued currency notes under Fixed Minimum Reserve System.

Report Error

View Answer Report Error Discuss

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

2 2323
Q:

Which of the following cities, is also known as the City of Festivals?

A) Madurai B) Varanasi
C) Puri D) Odisha
 
Answer & Explanation Answer: A) Madurai

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

2 2323
Q:

In the following question, a word has been written in four different ways out of which only one is correctly spelt. Select the correctly spelt word.

 

A) Ambarass B) Embarass
C) Embarrs D) Embarrass
 
Answer & Explanation Answer: D) Embarrass

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

3 2323