Questions

Q:

How would you check whether the contents of two structure variables are same or not?

Answer

struct emp


{


     char n[20];


      int age;


};


main()


{


    struct emp e1 = {"Dravid", 23};


   struct emp e2;


   scanf ("%s %d",e2.n, & e2.age);


   if( structcmp (e1,e2) ==0)


        printf ("The structures are equal");


   else


         printf ("The structures are unequal");


}


structcmp ( struct emp x, struct emp y)


{


     if (strcmp (x.n,y.n) ==0)


           if (x.age == y.age)


            return (0);


            return (1);


}


In short, if you nee to compare two structures, you'll have to write your own function to do so which carries out the comparison field by field.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3481
Q:

All of the following are true of neurons except that

A) they conduct a nervous impulse B) they are a very specialized form of connective tissue
C) thay are separated from one another by synapses D) When mature, they lose ability to divide
 
Answer & Explanation Answer: B) they are a very specialized form of connective tissue

Explanation:

All of the following are true of neurons except that they are a very specialized form of connective tissue.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

3 3480
Q:

In India, the first hour of every Parliamentary sitting is allotted for ________.

 

A) Question hour B) Half an hour
C) Zero hour D) No option is correct
 
Answer & Explanation Answer: A) Question hour

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 3477
Q:

The Union Territories get representation in

A) Lok Sabha B) Rajya Sabha
C) Both A & B D) Supreme Court
 
Answer & Explanation Answer: C) Both A & B

Explanation:

The Union Territories get representation in Both the houses of Parliament i.e, The Lok Sabha and The Rajya Sabha.

Report Error

View Answer Report Error Discuss

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

13 3476
Q:

Which half reaction correctly represents reduction?

A) Fe2+ + e- ---> Fe3+ B) Au3+ + 3e– ---> Au
C) Ag ---> Ag+ + e- D) All of the above
 
Answer & Explanation Answer: B) Au3+ + 3e– ---> Au

Explanation:

A half reaction is either the oxidation or reduction reaction component of a redox reaction. A half reaction is obtained by considering the change in oxidation states of individual substances involved in the redox reaction.

Report Error

View Answer Report Error Discuss

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

0 3476
Q:

Which of the following is the regulator of the credit rating agencies in india?

A) RBI B) SBI
C) SIDBI D) SEBI
 
Answer & Explanation Answer: D) SEBI

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank PO

4 3475
Q:

A cup of hot coffee is placed on a metal table in a room. By which of the following methods does it lose heat?

A) conduction and convection only B) conduction and radiation only
C) convection and radiation only D) conduction, convection and radiation
 
Answer & Explanation Answer: D) conduction, convection and radiation

Explanation:

Part of the heat is conducted away by the metal table. Convection currents in air near the surface of the coffee are set up which accounts for some heat loss. Heat is also lost by radiation from the hot coffee to the surroundings. Most of the heat is lost by the last method.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

5 3474
Q:

Which of the following is a nucleotide found in DNA?

A) Deoxyribose + Phosphate Group + Polymerase B) Adenine + Phosphate Group + Thymine
C) Deoxyribose + Phosphate Group + Thymine D) Cytosine + Phosphate Group + Uracil
 
Answer & Explanation Answer: C) Deoxyribose + Phosphate Group + Thymine

Explanation:

We know that, the nucleotide in DNA is of the form deoxyribose + phosphate group + polymerase.

 

Which_of_the_following_is_a_nucleotide_found_in_DNA1553496102.jpg image

 

Hence, Deoxyribose + Phosphate Group + Thymine is the only option in that form of nucleotide in DNA.

Report Error

View Answer Report Error Discuss

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

3 3471