Questions

Q:

What would be the output of the following program?

# define SQR(x) (x * x)

main()

{

    int a, b = 3;

    a = SQR ( b + 2 );

    Printf ("\n %d ", a );

}

Answer

11


Because, on preprocessing the expression becomes  a = ( 3 + 2 * 2 + 3),  as Ist preference is multiply & then addition, it evalvates as(3+ 2 * 3 +2) = (3+6+2)=11.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2060
Q:

A hinterland is 

A) an area behind a seaport that supplies the bulk of the exports B) the interior of a valley
C) an elevated area D) an area occupied by backward community
 
Answer & Explanation Answer: A) an area behind a seaport that supplies the bulk of the exports

Explanation:

It is also the land that accommodates the imports of the port.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 2059
Q:

Which formula represents a molecular compound?

A) Ar B) NaI
C) N2O4 D) All of the above
 
Answer & Explanation Answer: C) N2O4

Explanation:

Molecular compounds are those with covalent bonds between the elements and those elements are typically non metals.

 

Here in the given options, Ar is an element. NaI has an ionic bond. Hence, N2O4 has a covalent bond between the two non metals and is a molecular compound.

Report Error

View Answer Report Error Discuss

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

0 2059
Q:

What is the Biggest Annual Net Loss?

Answer

AOL Time Warner (USA) reported an annual net loss of $98.7 billion on 30 January 2003.

Report Error

View answer Workspace Report Error Discuss

0 2059
Q:

Who is the new president and CEO of Nokia?

Answer

Rajeev Suri

Report Error

View answer Workspace Report Error Discuss

2 2058
Q:

Faizi lived in the court of _________.

 

A) Humayun B) Dara Shikoh
C) Bahadur Shah Zafar D) Akbar
 
Answer & Explanation Answer: D) Akbar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

2 2058
Q:

Which of the following civilization is associated with 'Laws of Twelve Tables'?

A) Roman Civilization B) Arab Civilization
C) Greek Civilization D) Iranian Civilization
 
Answer & Explanation Answer: A) Roman Civilization

Explanation:

In 454 B.C, laws were codified in Rome. The laws were written on tablets of wood and were known as 'Laws of Twelve Tables'.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2058
Q:

Which of the statements given below are correct?

A) Australia won the 2016–17 Men's FIH Hockey World League Final.

B) Garbiñe Muguruza won the Tennis 2017 Cincinnati Masters Women's Singles.

C) In 2017 Pro Kabaddi League, Sandeep Narwal played for Puneri Paltan.

 

A) Only C B) Both A and C
C) Both B and C D) None of these
 
Answer & Explanation Answer: D) None of these

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 2058