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

Give the iupac name for the following compound?

che1530787063.jpg image

A) Sec-Butylcyclohexine B) Isopropylcyclohexane
C) 2-Cyclohexybutane D) None of the above
 
Answer & Explanation Answer: B) Isopropylcyclohexane

Explanation:
Report Error

View Answer Report Error Discuss

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

3 4532
Q:

Which region specializes in diamonds?

A) Sub-Saharan Africa B) Central america
C) Middle east Europe D) South America
 
Answer & Explanation Answer: A) Sub-Saharan Africa

Explanation:
Report Error

View Answer Report Error Discuss

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

2 4530
Q:

why did you choose HR? what do you want to make your career as HR?

Answer

HR-Human Resources:



To be a good HR person we need to have excellent  communication skills,interpersonal skills, good friendly attitude, talkative, decision-making skills etc.


An HR is the backbone of a  company. Right from recruiting the suitable person to training and then efficiency appraisal and then compensation and then exit interview...everything every step involves an HR.



So, if you wish to be a soul of the company not just a part of it, you should be an HR.

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

2 4529
Q:

Which IIT institute has developed ‘soil-to-soil’ technology to manufacture cheaper, quicker and pollution-free bio fuel  ?

A) IIT, Kolkata B) IIT, Kharagpur
C) IIT, Delhi D) IIT, Bombay
 
Answer & Explanation Answer: B) IIT, Kharagpur

Explanation:

The researchers at IIT Kharagpur have developed a new technology to manufacture cheaper, quicker and pollution-free bio-fuel. The ‘soil-to-soil’ manufacturing technology developed at the P K Sinha Centre for bio-energy at IIT-KGP is in the process of being patented. The technique will ensure relatively quicker production of bio-fuel and the process is completely green. The green leafy part of corn and sugarcane plants, the waste part of paddy straw, bamboo, banana plant, pineapple and cotton plants, kans grass (kassh phool), castor plant and even non-edible weeds that grow in dry and waste land and a mix of all has been used by IIT-KGP to produce bio fuel. The project is funded by the Ministry of Petroleum and Natural Gas, Department of Science and Technology and the Ministry of Human Resource Development.

Report Error

View Answer Report Error Discuss

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

3 4529
Q:

Who was the first Mughal Emperor to acquire Koh-i-nur diamond?

A) Humayun B) Akbar
C) Jahangir D) Shah Jehan
 
Answer & Explanation Answer: A) Humayun

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

2 4527
Q:

Brand Name 'Ykk' is related to 

A) Cars B) Cellular Phones
C) Zip D) Shoe polish
 
Answer & Explanation Answer: C) Zip

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

14 4526
Q:

Which of the following bank has recently launches a special edition ' Cricket Credit Card' in association with IPL franchise Delhi Daredevils?

A) Yes Bank B) Federal Bank
C) Ratnakar Bank Limited D) Kotak Mahindra Bank
 
Answer & Explanation Answer: C) Ratnakar Bank Limited

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 4526