Questions

Q:

How would you use the function memmove()?

Answer

#include "mem.h"


#include "alloc.h"


main()


{


      int area;


      char *dest;


      char src[] = "Life is the camera and you are the target"


                                  "so keep smiling always";


      area = sizeof (src);


      dest = malloc (area);


      memmove (dest, src, area);


      printf("\n%s", dest);


      printf("\n%s",src);


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3326
Q:

What are software interrupts?

Answer

RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

2 3324
Q:

Sleeping sickness in man is caused by the organism

A) plasmodium B) entamoeba
C) giardia D) trypanosoma
 
Answer & Explanation Answer: D) trypanosoma

Explanation:

Trypanosoma is a protozoan animal. It lives as a parasite in the blood and later invades the cerebrospinal fluid to cause the sleeping sickness. This parasite is transmitted by the Tsetse fly.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

10 3323
Q:

One of the ingredients of the paste on the side of a match box is 

A) Phosphorus pentaoxide B) Phosphorus trichloride
C) Phosphorus trisulphide D) Phosphorus trioxide
 
Answer & Explanation Answer: C) Phosphorus trisulphide

Explanation:

The paste applied to the side of a match box is a mixture of phosphorus trisulphide, glass powder (or sand) to cause friction and glue (binding material)

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3322
Q:

Wavelength of which of the following colours of the visible spectrum of light are maximally  absorbed by green plants________

A) Green and Yellow B) Red and Blue
C) Green and Red D) Blue and Yellow
 
Answer & Explanation Answer: B) Red and Blue

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 3321
Q:

Where is the Morris Canal Located?

A) New Jeresy B) Michigan
C) California D) Washington
 
Answer & Explanation Answer: A) New Jeresy

Explanation:

It is located in New Jeresy

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

11 3321
Q:

"Light years" is the unit of _____?

A) Acceleration B) Distance
C) Light Intensity D) Weight
 
Answer & Explanation Answer: B) Distance

Explanation:

A Light-year is a distance that light travels in the vacuum in one Julian year (365.25 days).

The light-year is a unit of length used to express astronomical distances. It is about 9.5 trillion kilometers or 5.9 trillion miles. 

Report Error

View Answer Report Error Discuss

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

11 3321
Q:

A cowboy rides into town on Friday, stays for three days and leaves on Friday. How did he do it?

Answer

If we read the question clearly twice, we can understand that the name of the horse on which the cowboy rides into town is FRIDAY.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: TOEFL , GRE , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

7 3320