Questions

Q:

Point out the error, if any, in the following program.

#include "stdio.h"

main()

{

      unsigned char;

       FILE *fp;

       fp = fopen ("trail", "r");

       while (( ch = getc (fp)) ! = EOF)

               printf ("%c", ch);

       fclose (fp);

}  

Answer

EOF has been defined as #define EOF -1 n the file "stdio.h" and an unsigned char ranges from 0 to 255 hence when EOF is read from the file it cannot be accommodated in ch. Solution is to declare ch as an int.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3330
Q:

Who is the author of book ' Arctic Summer'.

Answer

Dammon Galgut

Report Error

View answer Workspace Report Error Discuss

2 3329
Q:

Roentgen discovered

A) Electrocardiograph B) X–rays
C) Anti polio vaccine D) Encephalograph
 
Answer & Explanation Answer: B) X–rays

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

3 3329
Q:

Since foundation of nobel prize awards has been added to the original five disciplines which were considered for award of Nobel Prize

A) Medicine B) Peace
C) Literature D) Economics
 
Answer & Explanation Answer: D) Economics

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

0 3329
Q:

What does submissive mean in a relationship?

Answer

Being submissive to somebody is to acknowledge somebody to be in a greater authority than you are.


Submissive mean in a relationship is you obey that person without complaining or arguing about it.


 


In short, a submissive is a person who enjoys giving control of themselves to their life partners.

Report Error

View answer Workspace Report Error Discuss

0 3329
Q:

In the following question, a sentence has been given in Active/Passive voice. Out of the four alternatives suggested, select the one which best
expresses the same sentence in Passive/Active voice.
People drink champagne on New Year’s Eve.

A) Drinking of champagne is done on New Year's Eve. B) New Year's Eve was the day when People drank Champagne.
C) People on Eve of New Year drink champagne. D) Champagne is drunk on New Year’s Eve.
 
Answer & Explanation Answer: D) Champagne is drunk on New Year’s Eve.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 3329
Q:

The insects do not have blood pigments because 

A) there is no blood B) blood does not have a respirratory function
C) tissues have pigments D) pigments are elsewhere
 
Answer & Explanation Answer: B) blood does not have a respirratory function

Explanation:

The blood of some invertebrate animals like the earthworm is red due to haemoglobin pigment, but the pigment is dissolved in the plasma. In vertebrates the same pigment is found in the red corpuscles and not in the plasma.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

8 3328
Q:

What process never occurs in interphase?

Answer

Absence of cell division is the process that never comes in interphase.

Report Error

View answer Workspace Report Error Discuss

Subject: Biology Exam Prep: AIEEE , Bank Exams
Job Role: Analyst

5 3328