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

The Jigme Dorji National Park is located in which country  ?

A) Myanmar B) Bhutan
C) India D) Nepal
 
Answer & Explanation Answer: B) Bhutan

Explanation:

The Jigme Dorji National Park is the second-largest National Park of Bhutan. The park provides sanctuary for 37 known species of mammals including several endangered, threatened or vulnerable species, such as the takin, snow leopard, clouded leopard, Bengal tiger, bharal or Himalayan blue sheep, etc. It is also home to the Indian leopard, serow, sambar, barking deer, goral, marmot, pika and more than 300 species of birds. It is also the only park in Bhutan where the national animal (takin), flower (blue poppy), bird (raven) and tree (cypress) exist together.

Report Error

View Answer Report Error Discuss

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

5 4063
Q:

Charminar is made up of which rock?

A) Limestone B) Marble
C) Granite D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Charminar was built at the center of the Hyderabad city in Telangana state, to commemorate the eradication of Plague by Mohammed Quli Qutb Shah in early 1500's. 

charminar_is_made_up_of_which_rock1542451710.jpg image 

It was built with Granite, imestone and Marble.

Report Error

View Answer Report Error Discuss

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

5 4061
Q:

What do you meant by "triple X" in Networks?

Answer

The function of PAD (Packet Assembler Disassembler) is described in a document known as X.3. The standard protocol has been defined between the terminal and the PAD, called X.28; another standard protocol exists between hte PAD and the network, called X.29. Together, these three recommendations are often called "triple X"

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

2 4061
Q:

Which IT company has developed Financial Core - a banking software product?

A) Wipro B) Satyam
C) Infosys D) TCS
 
Answer & Explanation Answer: C) Infosys

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

13 4060
Q:

One of the following companies was in the news over alleged charges of international trademark and copyright violation. Identify it?

A) Kingfisher Airlines B) Mumbai Dyeing
C) Derby D) Hutch
 
Answer & Explanation Answer: D) Hutch

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

14 4060
Q:

The substrate of photorespiration is

A) Glucose B) Pyruvic acid
C) Glycolate D) Sucrose
 
Answer & Explanation Answer: C) Glycolate

Explanation:
Report Error

View Answer Report Error Discuss

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

5 4059
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 4058