Questions

Q:

Who was awarded the first Rajiv Gandhi National Sadhavana Award

A) Archarya Tulsi B) J.R.D.Tata
C) Mother Teresa D) R.A.Mashelkar
 
Answer & Explanation Answer: C) Mother Teresa

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

1 3807
Q:

How would you check whether the contents of two structure variables are same or not?

Answer

struct emp


{


     char n[20];


      int age;


};


main()


{


    struct emp e1 = {"Dravid", 23};


   struct emp e2;


   scanf ("%s %d",e2.n, & e2.age);


   if( structcmp (e1,e2) ==0)


        printf ("The structures are equal");


   else


         printf ("The structures are unequal");


}


structcmp ( struct emp x, struct emp y)


{


     if (strcmp (x.n,y.n) ==0)


           if (x.age == y.age)


            return (0);


            return (1);


}


In short, if you nee to compare two structures, you'll have to write your own function to do so which carries out the comparison field by field.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3806
Q:

Who has released a book on the noted author and journalist Khushwant Singh titled 'Khushwant Singh: In Wisdom and in Jest' ?

A) Yogi Adityanath B) Vijay Rupani
C) Shivraj Singh D) Amarinder Singh
 
Answer & Explanation Answer: D) Amarinder Singh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank PO

8 3805
Q:

According to Forbes, Who has become Asia’s richest person in the year 2017?

A) Jeff Bezos B) Hui Ka Yan
C) Mukesh Ambani D) Bill Gates
 
Answer & Explanation Answer: C) Mukesh Ambani

Explanation:

Reliance Industries Chairman Mukesh Ambani overtook China’s Hui Ka Yan to become Asia’s richest person with a total wealth of $42.1 billion. According to Forbes’ real time billionaire’s list, Ambani's personal wealth rose by $466 million in 2017.

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

9 3804
Q:

What is the capital of Peru?

A) Warsaw B) Lima
C) Dakar D) Victoria
 
Answer & Explanation Answer: B) Lima

Explanation:

Lima is the capital of Peru

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

10 3803
Q:

As per the recommendations of the 12th Finance Commission, what will be the Share of the State Govts in total shareable proceeds of Central taxes?

A) 15% B) 20.5%
C) 22% D) 30.5%
 
Answer & Explanation Answer: D) 30.5%

Explanation:
Report Error

View Answer Report Error Discuss

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

1 3803
Q:

Which of the following layers of the earth is believed to have the heavist mineral materials of highest density

A) Central core B) Crust
C) Mantle D) Both (B) and (C)
 
Answer & Explanation Answer: A) Central core

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 3802
Q:

' Crime and Punishment ' was written by

A) Alexander Solzhenitysn B) Lewis Carroll
C) Fyodor Dostoevsky D) Valdimir Nabakov
 
Answer & Explanation Answer: C) Fyodor Dostoevsky

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

2 3801