Questions

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

The headquaters of food and agriculture organisation is in

A) Paris B) Rome
C) Madrid D) Washington
 
Answer & Explanation Answer: B) Rome

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

0 2271
Q:

What was the strength of Indus economy?

A) Trading B) Agriculture
C) Electricity D) Mining
 
Answer & Explanation Answer: B) Agriculture

Explanation:
Report Error

View Answer Report Error Discuss

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

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

Who synthesized the first wholly artificial gene?

A) Har Gobind Khorana B) Alexander Markham
C) Herbert Boyer D) J.J. Thompson
 
Answer & Explanation Answer: A) Har Gobind Khorana

Explanation:

The first wholly artificial gene was synthesized by Har Gobind Khorana.

Who_synthesized_the_first_wholly_artificial_gene1552735176.jpg image

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 2271
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 2270
Q:

Dysfunctional behaviors are maladaptive which means that they

A) are medicated B) interfere with everyday life
C) cause of stress D) all of the above
 
Answer & Explanation Answer: B) interfere with everyday life

Explanation:

Dysfunctional behaviors are maladaptive which means that they interfere with everyday life.

Report Error

View Answer Report Error Discuss

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

2 2270