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

After the decline of the Chalukya kingdom of Kalyani at the close of the 12th and of the chola kingdom at the begining of the 13th century, the new kingdom which arose in South India were

A) Yadavas of Devagiri and Kakatiyas of Warangal B) Hoysalas of Dwarsamudra and Pandyas of Madurai
C) Vijayanagar and Bahamani kingdoms D) Both (a) and (b)
 
Answer & Explanation Answer: D) Both (a) and (b)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 3559
Q:

Which city topped in city governance ranking of the Annual Survey of India’s City Systems (ASICS) 2016 ?

A) Hyderabad B) Bangalore
C) Thiruvananthapuram D) Pune
 
Answer & Explanation Answer: C) Thiruvananthapuram

Explanation:

Thiruvananthapuram, capital of Kerala has topped in city governance ranking of the Annual Survey of India’s City Systems (ASICS) 2016 conducted by Janaagraha Centre for Citizenship and Democracy. This year it was the fourth edition the annual survey which had evaluated 21 major cities from the 18 states. It highlighted inadequacies in urban governance that could affect public service delivery and quality of life.

Report Error

View Answer Report Error Discuss

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

3 3557
Q:

Which country has become the first country to open honorary consulate office in Gujarat International Finance Tec-City (GIFT City) ? 

A) France B) Portugal
C) Spain D) Belgium
 
Answer & Explanation Answer: D) Belgium

Explanation:

Belgium has become the first country to open an honorary consulate office in Gujarat International Finance Tec-City (GIFT City).

Report Error

View Answer Report Error Discuss

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

3 3557
Q:

A four-day Ministerial level meeting of G-20 and G-33 countries was held in June 2006 in 

A) Hong Kong B) Beijing
C) New Delhi D) Jakarta
 
Answer & Explanation Answer: B) Beijing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

0 3556
Q:

Government regulation is intended to

A) discourage producers from taking harmful actions. B) encourage producers to follow the Constitution.
C) discourage producers from making a profit. D) encourage producers to take negative actions.
 
Answer & Explanation Answer: A) discourage producers from taking harmful actions.

Explanation:

Government regulation protects constitutional rights, safety, and fairness.

 

Hence, Government regulation is intended to discourage producers from taking harmful actions.

Report Error

View Answer Report Error Discuss

3 3556
Q:

What is the gram formula mass of K2CO3?

A) 147 B) 138
C) 129 D) 116
 
Answer & Explanation Answer: B) 138

Explanation:

The gram formula mass of a compound is nothing but the molar mass.

The molar mass of K2CO3 (Potassium Carbonate) is given by

Atomic weights of individual elements are

 

K (Potassium) = 39 g

C (Carbon) = 12 g

O (Oxygen) = 16 g

 

Hence, that of K2CO3 = 39(2) + 12 + 16(3)

= 78 + 12 + 48

= 138.

Report Error

View Answer Report Error Discuss

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

2 3556
Q:

How much time for the total distance?

time_and_distance1561111256.jpg image

A) 85 min B) 1 hr 15 min
C) 90 min D) 1 hr 08 min
 
Answer & Explanation Answer: B) 1 hr 15 min

Explanation:

From the given data, 

if 60% = 45 minutes


100% =  ?

=> 45 × 100/60

= 75 min


i.e, = 1hr 15 min.

Report Error

View Answer Report Error Discuss

Filed Under: Math Puzzles
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

17 3554