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:

Zojila Pass connects which of the following two pairs?

 

A) Srinagar and Leh B) Kalimpong and Lhasa  
C) Chamba and Spiti   D) Arunachal Pradesh and Lhasa  
 
Answer & Explanation Answer: A) Srinagar and Leh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 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:

What is the name given to the Indegeneously - developed multi - barrel rocket system?

A) Trishul B) Agni
C) Pinaka D) Arjun
 
Answer & Explanation Answer: C) Pinaka

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 3323
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 3322
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:

IP address of a packet is normally analyzed by

A) Modem B) Router
C) Hub D) CPU
 
Answer & Explanation Answer: B) Router

Explanation:

The IP address of a packet is normally analyzed by Router.

Report Error

View Answer Report Error Discuss

6 3322
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