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

Who among the following was the first Indian to receive the Megsaysay award

A) Vinoba bhave B) Mother teresa
C) R.K.Laxman D) T.N.Seshan
 
Answer & Explanation Answer: A) Vinoba bhave

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

1 3300
Q:

Largest district in Bangladesh?

A) Narayangunj B) Chittagong
C) Khagrachari D) Rangamati
 
Answer & Explanation Answer: D) Rangamati

Explanation:

The largest district in Bangladesh is Rangamati. And smallest district is Narayangunj.

Largest_district_in_Bangladesh1554457968.png image

Report Error

View Answer Report Error Discuss

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

5 3300
Q:

What name was given to the city of Yathrib by Prophet Mohammed?

Answer

Medina

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

40 3300
Q:

Order of basicity of amines

Answer

The order of basicity for primary, secondary and tertiary amines are:


Secondary > Primary > Tertiary > NH3


 


* Amines are basic in nature as they have lone pair of electrons on nitrogen. Therefore, they have a strong tendency to donate this lone pair of electrons to electron acceptors.


* The stability of conjugate acids formed is dependent on the extent of H-bonding,and greater the number of H-atoms on N more stable is the conjugate acid.


* The conjugate acid of primary amine is the most stable with greater number (3) of H-bonds than > Secondary > tertiary. But primary amines are less basic than secondary as the electron density on the N atom is less and lone pair of electrons are not readily available for protonation.


* The two opposing factors i.e. the stability of conjugate acids formed and ease of availability of electrons for Protonation, balance each other in case of secondary amines and it is most basic.

Report Error

View answer Workspace Report Error Discuss

Subject: Chemistry Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

1 3299
Q:

Why is February 28th celebrated as National Science Day ?

Answer

It was on February 28th, 1928 that CV Raman announced  his discovery of New radiation-subsequently named the Raman Effect- that won him the Noble prize.

Report Error

View answer Workspace Report Error Discuss

2 3299
Q:

Name the International Bank in which Temasek Holdings Pte, Singapore's government - owned investment arm, has announced to pick up 12 per cent stake.

A) Deutsche Bank B) ABN Amro Bank
C) HSBC Bank D) Standard Chartered Plc
 
Answer & Explanation Answer: D) Standard Chartered Plc

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

5 3299
Q:

Market survey means...........

A) Market Research B) Market Planning
C) Marketing Strategies D) Market Monitoring
 
Answer & Explanation Answer: A) Market Research

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

0 3299