Questions

Q:

Point out the error, if any, in the following program.

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2159
Q:

Who became the first-ever Indian javelin-thrower to win an Asian Games gold medal 2018?

A) Manjit Singh B) Neeraj Chopra
C) Amit Panghal D) Manika Batra
 
Answer & Explanation Answer: B) Neeraj Chopra

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2159
Q:

Give a circuit to divide frequency of clock cycle by two?

Answer

You can divide the frequency of a clock by just implementing T Flip flop.


Give clock as clock input and tie the T input to logic 1.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2159
Q:

Which best describes a gene?

A) a segment of chromosomal DNA B) tightly coiled strands of DNA
C) different allele forms of a trait D) None of the above
 
Answer & Explanation Answer: A) a segment of chromosomal DNA

Explanation:

Gene is a hereditary unit consisting of a sequence of DNA that occupies a specific location on a chromosome and determines a particular characteristic in an organism.

In short it is a piece or segment of chromosome.

 

Genes undergo mutation when their DNA sequence changes. 

Report Error

View Answer Report Error Discuss

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

1 2159
Q:

To the economist, total cost includes

A) neither implicit nor explicit costs. B) implicit, but not explicit, costs.
C) explicit, but not implicit, cost. D) explicit and implicit costs.
 
Answer & Explanation Answer: D) explicit and implicit costs.

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

Which must be true for metamorphism to occur?

A) The grain size must become smaller B) The process must take place underwater
C) The parent rock must be in solid form D) The parent rock must be igneous
 
Answer & Explanation Answer: C) The parent rock must be in solid form

Explanation:

Metamorphism is the method of changing the structure of a rock by using heat and temperature.

Hence, for this to happen the parent rock must be in solid form only. Therefore, option C) is true.

Report Error

View Answer Report Error Discuss

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

1 2158
Q:

Which of these groups is the smallest level of classification?

A) Phylum B) Family
C) Kingdom D) Species
 
Answer & Explanation Answer: C) Kingdom

Explanation:

Kingdom is the smallest level of classification.

 

The level of classification from largest to smallest is :

* Domain

* Kingdom

* Phylum

* Class

* Order

* Family

* Genus

* Species

Report Error

View Answer Report Error Discuss

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

1 2158
Q:

CTRL + ] is used for

A) Re-do B) Right align text
C) Increase in font size D) Expand or collapse the ribbon
 
Answer & Explanation Answer: C) Increase in font size

Explanation:

CTRL + ] is a computer shortcut and is used for Increase in font size.

 

Shortcuts :

Re-do ---- Ctrl + Y

Right align text ---- Ctrl + R

Expand or collapse the ribbon ---- Ctrl + F1

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

3 2157