Questions

Q:

Can I increase the size of a dynamically allocated array? < Yes / No> if yes, how?

Answer

Yes, using the realloc() function as shown below:


main()


{


        int *p;


        p = ( int *) malloc (20) ;


        t = p;


        t = (int *) realloc ( p, 40);


        if ( t == NULL )


        Printf (" Cannot reallocate, leaves previous allocated region unchanged ");


       else


       {


              if ( p ==t )


              ;  / * the array expanded at the same region */


             else


            { 


                 free ( p ); / * deallocate the original array */


                 p = t;  /* set p to newly allocated region */


             }


      }


}  

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 4107
Q:

What is an Indian Depository Receipt ?

A) A deposit account with a Public sector Bank B) A depository account with any of the Depositories in india
C) An instrument in the form of depository receipt created by an Indian depository against underlying equity shares of the issuing company D) An instrument in the form of deposit receipt issued by indian depositories
 
Answer & Explanation Answer: C) An instrument in the form of depository receipt created by an Indian depository against underlying equity shares of the issuing company

Explanation:
Report Error

View Answer Report Error Discuss

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

2 4106
Q:

Pulitzer prize winners are selected by the Pulitzer prize Board and announced by the president of the

A) New York University B) Columbia University
C) Wesleyan University D) Cambridge university
 
Answer & Explanation Answer: B) Columbia University

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 4106
Q:

Which of the statements given below are correct?

A) Netherlands won the 2017 Women's Cricket World Cup.

B) Australia won the 2016–17 Men's FIH Hockey World League Final.

C) Fan Zhendong won the Tennis 2017 US Open Men's Singles.

 

A) Only B B) Only C
C) Both B and C D) A, B and C
 
Answer & Explanation Answer: A) Only B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 4104
Q:

RBI has recently allowed minors to open and operate savings bank accounts  independently. The minor should be above  how many years of age?

A) 9 B) 10
C) 12 D) 14
 
Answer & Explanation Answer: B) 10

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 4103
Q:

Which Indian state recently approved Bill to reserve 75% private jobs for locals?

 

A) Telangana B) Uttar Pradesh
C) Haryana D) Andhra Pradesh
 
Answer & Explanation Answer: C) Haryana

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 4103
Q:

Which of the following statements about ddntps is true?

A) They have a hydrogen at the 3’ carbon of the sugar. B) DNA polymerase can add a new dNTP to a 3’ ddNTP.
C) They have a free 3’-hydroxyl group on the ribose sugar. D) They have an oxygen at the 2’ carbon of the ribose sugar.
 
Answer & Explanation Answer: A) They have a hydrogen at the 3’ carbon of the sugar.

Explanation:

ddNTPs - Dideoxynucleotides and abbreviated as ddNTPs.

 

They are chain-elongating inhibitors of DNA polymerase, used in the Sanger method for DNA sequencing.

 

They have a hydrogen at the 3’ carbon of the ribose sugar.

Report Error

View Answer Report Error Discuss

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

3 4102
Q:

A particle which is four times in mass and two times in charge that of proton is

A) helium atom B) an alpha particle
C) deuteron D) tritium
 
Answer & Explanation Answer: B) an alpha particle

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

7 4102