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

What is the main motive behind dealer incentives?

A) encouraging the maximum number of sales of the manufacturers products B) to maintain a permanent deal
C) maintaining good dealer-manufacturer relationships D) ensuring that the customer gets the best possible deal
 
Answer & Explanation Answer: A) encouraging the maximum number of sales of the manufacturers products

Explanation:

The main motive behind dealer incentives is to give the products at some low price for the dealers who take the products in bulk and maintain good selling of these products.

Report Error

View Answer Report Error Discuss

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

2 2275
Q:

The Indian-Australian mathematician who is one of four winners of mathematics prestigious Fields medal, known as the Nobel Prize for math was

A) Akshay Venkatesh B) Manoj prabhakar
C) N.K Surna D) None of the above
 
Answer & Explanation Answer: A) Akshay Venkatesh

Explanation:

Akshay Venkatesh, a renowned Indian-Australian mathematician, is one of four winners of mathematics’ prestigious Fields medal, known as the Nobel prize for math. New Delhi-born Venkatesh, 36, who is currently teaching at Stanford University, has won the Fields Medal for his profound contributions to an exceptionally broad range of subjects in mathematics.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2274
Q:

Which is the national game of pakistan ?

A) Cricket B) Kabaddi
C) Archery D) Hockey
 
Answer & Explanation Answer: D) Hockey

Explanation:

hockey

Report Error

View Answer Report Error Discuss

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

0 2274
Q:

An implied power is one that

Answer

Implied powers are powers of U.S. government which have not been explicitly granted by the Constitution but that is implied by the necessary and proper clause to be delegated for the purpose of carrying out the enumerated powers.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

1 2274
Q:

Assessing opportunity cost involves

A) choosing consequences over profits B) maximizing profit and loss
C) making choices and dealing with consequences D) Both B & C
 
Answer & Explanation Answer: C) making choices and dealing with consequences

Explanation:

Assessing opportunity cost involves making choices and dealing with consequences.

Report Error

View Answer Report Error Discuss

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

1 2274
Q:

The HIV retrovirus is particularly deadly because

A) I can become AIDS shortly afte being contracted B) It attacks the body immune system
C) Treatments can be dangerous for patients D) Its hard to diagnose accurately
 
Answer & Explanation Answer: B) It attacks the body immune system

Explanation:

HIV is a virus that damages the immune system. HIV is a lifelong condition, and without treatment, a person with HIV can develop AIDS.

The_HIV_retrovirus_is_particularly_deadly_because1563452540.jpg image

Report Error

View Answer Report Error Discuss

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

9 2273
Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Database Exam Prep: GATE
Job Role: Database Administration

0 2273