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

getppid() system call is used to bias the existing priority of a process 

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

It is used to get parent process identifier

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

1 4803
Q:

Which of the following are not pastoral nomads?

A) Pygmies B) Kazaks
C) Masai D) Lapps
 
Answer & Explanation Answer: A) Pygmies

Explanation:

The pygmies are hunting nomads

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

2 4800
Q:

How to prepare for TOEFL iBT essay writing part?

There are four sections of TOEFL iBT exam (Reading, Listening, Speaking and Writing). The 4th section is to write an essay about one topic.

Answer

Yes, you are requested to write an essay as part of your TOEFL iBT exam. There are 5 major types for TOEFL essay topics. They are:


 


1. Agree or Disagree


2. Preference


3. Description / Explanation


4. If / Imaginary


5. Compare & Contrast


 


The best way to prepare for this essay writing is to understand the writing style clearly. To understand the the genre, you can refer some sample essays submitted before by different contestants. You can get such sample TOEFL essays from various sources such as TOEFL training websites, cheap essay writing service sites, online libraries, etc. Once you are well aware of the writing pattern the next thing is to practice writing random essays. Keep in mind that you should practice writing essays of all above mentioned 5 types. If you make it a routine to write random essays, gradually you can compete at higher level to write the given essay topic for your TOEFL iBT exam.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: TOEFL

33 4800
Q:

According to experts what percentage of trash is recyclable?

A) 16% B) 36%
C) 72% D) 90%
 
Answer & Explanation Answer: D) 90%

Explanation:

according_to_experts_what_percentage_of_trash_is_recyclable1556256889.jpg image

 

EPA - Environmental Protection Agency.

 

The EPA estimates that 85% - 90% of the waste is recyclable, but we only recycle about 30% - 40% of it.

Report Error

View Answer Report Error Discuss

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

5 4798
Q:

What is the fastest of all the birds?

A) Blood phesant B) Swift
C) Sparrow D) None
 
Answer & Explanation Answer: B) Swift

Explanation:

Swift is the fastest among all the birds in India

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds

42 4798
Q:

Telangana region represents one of the following types of vegetation?

A) Tropical deciduous B) Thorn
C) Tropical ever green D) Sub - tropical decidual
 
Answer & Explanation Answer: B) Thorn

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

5 4796
Q:

Bharat Nirman Programme does not cover which of the following areas

A) Rural housing B) Rural water supply
C) Irrigation facilities D) Rural Employment
 
Answer & Explanation Answer: D) Rural Employment

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

6 4796