Questions

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

The exercise of converting the financial outlays into physical outcomes, with fixed quarterly measurable and monitorable target is called

A) Outcome budget B) Estimated budget
C) Expenditure estimate D) None of these
 
Answer & Explanation Answer: A) Outcome budget

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

6 3741
Q:

Who invented Electrocardiograph(EKG)?

Answer

The EKG was invented by Willem Einthoven in 1903 and is used to monitor and analyze past and present heart activity in an individual.

Report Error

View answer Workspace Report Error Discuss

Subject: Inventions

5 3739
Q:

What ‘game’ was first produced by the Southern Novelty Company in Baltimore, Maryland in 1892?

A) Frisbee B) Monopoly
C) Ouija board D) Ping Pong
 
Answer & Explanation Answer: C) Ouija board

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

1 3738
Q:

Which of the following sports is relatively safe?

A) Free diving B) Sky diving
C) Cave diving D) None of the above
 
Answer & Explanation Answer: B) Sky diving

Explanation:

From the above given options, sky diving is safe compared to other two games which needs with hold of breath under water and in the caves.

Report Error

View Answer Report Error Discuss

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

2 3738
Q:

The headquarters of the International court of Justice is situated at _____ ?

A) Sweden B) Geneva
C) London D) Hague
 
Answer & Explanation Answer: D) Hague

Explanation:

International court of Justice (ICJ) is the main judicial organ or branch of the United Nations, sometimes people call it the World Court. ICJ was established in the year 1945 and has its headquarters at The Hague, Netherlands.

Report Error

View Answer Report Error Discuss

Filed Under: World Organisations
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

8 3737
Q:

GNLF stands for

A) Gorkha National Liberation Front B) Gross National Liberation Form
C) Both option A and B D) None of the above
 
Answer & Explanation Answer: A) Gorkha National Liberation Front

Explanation:

GNLF stands for Gorkha National Liberation Front.

 

Gorkha National Liberation Front (GNLF) is a political party in the Darjeeling District of West Bengal, India. It was formed in 1980 by Subhash Ghisingh with the objective of demanding a Gorkhaland state within India.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

2 3737
Q:

The Busiest Metro Station in the world _________

Answer

Shinjuku Station in Tokyo, Japan, has an average of 3.64 million passengers pass through it each day. It has more than 200 exits.

Report Error

View answer Workspace Report Error Discuss

1 3737