Questions

Q:

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp

{

    char *n;

    int age;

};

struct emp e = { "Sujay",15};

FILE *fp;

fwrite (&e, sizeof (e), 1, fp);

Answer

No, since the structure contains a char pointer while writing the structure to the disk using fwrite() only the value stored in the pointer n would get written. When this structure is read back the address would be read back but it is quite unlikely that the desired string would be present at this address in memory

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3139
Q:

The sciatic nerve is a combination of which two nerves?

A) common fibular and tibial B) pudendal and posterior femoral cutaneous
C) posterior femoral cutaneous and tibial D) pudendal and common fibular
 
Answer & Explanation Answer: A) common fibular and tibial

Explanation:

The sciatic nerve is a combination of common fibular and tibial. 

 

The sciatic nerve divides into its two branches::

1. The tibial nerve

2. The common fibular nerve

at the popliteal fossa.

 

The tibial nerve, which travels down the posterior compartment of the leg into the foot.

The common peroneal nerve also called the common fibular nerve, which travels down the anterior and lateral compartments of the leg into the foot.

Report Error

View Answer Report Error Discuss

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

2 3139
Q:

What is the middle name of Sourav Ganguly?

A) Chandidas B) Karamdas
C) Karamchand D) Mohandas
 
Answer & Explanation Answer: A) Chandidas

Explanation:

Sourav Chandidas Ganguly was a former Indian Cricket team captain mostly called as DADA.

Report Error

View Answer Report Error Discuss

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

5 3138
Q:

What is unit of Viscosity ?

A) coulomb B) newton second per square meter
C) watt per meter per degree celcius D) joule per kilogram per Kelvin
 
Answer & Explanation Answer: B) newton second per square meter

Explanation:

coulomb is unit of Electric Charge,

watt per meter per degree celcius is unit of Thermal Conductivity,

joule per kilogram per Kelvin is unit of Specific Heat capacity.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

2 3138
Q:

American financial magazine Barron's has listed the HDFC Bank Managing Director's name on 23rd position in the list of world’s 30 best CEOs. His name is ___________.

A) Aditya Puri B) Sanjeev Misra
C) M K Sharma D) Shikha Singh
 
Answer & Explanation Answer: A) Aditya Puri

Explanation:

American financial magazine Barron's has listed the name of HDFC Bank Managing Director Aditya Puri’s name in its list of world’s 30 best CEOs. He holds the 23rd position in the list beating social media giant Facebook’s CEO Mark Zuckerberg who is listed on the 30th spot.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 3137
Q:

Which among the following has ranked top Brand among Global 500 Brands in 2017 ?

A) Apple B) Amazon
C) Google D) Facebook
 
Answer & Explanation Answer: C) Google

Explanation:

1. In the latest Global 500 rankings of most valuable and powerful brands across the globe, Sundar Pichai’s Google has surpassed Apple to achieve the top position.
2. The Brand Finance Global 500 list published on February 2, 2017 had featured Apple as the top brand for continuous five years.
3. However, for 2017, the ranking revealed that Google’s brand value rose by 24 percent to $109.5bn in 2016. The brand value of Apple on the other hand dropped 27 percent to $107bn.
4. This is for the first time since 2011 that Google has been placed at the top spot. The third place has been occupied by Amazon.
5. The ranking is based upon factors such as marketing investment, familiarity, loyalty, staff satisfaction and corporate reputation.

Report Error

View Answer Report Error Discuss

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

6 3136
Q:

Separation of judiciary from executive is enjoined by

A) Directive principle B) Judicial decision
C) Seventh schedule D) Preamble
 
Answer & Explanation Answer: A) Directive principle

Explanation:
Report Error

View Answer Report Error Discuss

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

7 3136
Q:

I can grow quickly and I can die slowly, I can be a terrible pain or a comfort and joy. You never find me all by myself. What am I?

Answer

A relationship.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: Bank Exams
Job Role: Bank Clerk

7 3136