Questions

Q:

Point out the error, if any, in the following program.

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2231
Q:

Free-floating anxiety refers to anxiety that is

A) unrelated to any realistic, known source B) related to a specific event
C) related to a realistic source D) related to a specific object
 
Answer & Explanation Answer: A) unrelated to any realistic, known source

Explanation:

Free floating anxiety is also known as Generalised Anxiety Disorder in which the individual may be unable to identify specific triggers for the anxiety.

Report Error

View Answer Report Error Discuss

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

0 2231
Q:

The disease that has been eradicated from the world is

A) small pox B) poliomyelitis
C) leprosy D) seizures
 
Answer & Explanation Answer: A) small pox

Explanation:

The disease that has been eradicated from the world is small pox. Smallpox was an infectious disease caused by one of two virus variants, Variola major and Variola minor. The last naturally occurring case was diagnosed in October 1977 and the World Health Organization (WHO) certified the global eradication of the disease in 1980.

Report Error

View Answer Report Error Discuss

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

3 2231
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best express the same sentence in Indirect/Direct speech.

Vicky said, "I clean my teeth daily."

A) Vicky said he cleans his teeth daily. B) Vicky says he cleans his teeth daily.
C) Vicky said that he cleaned his teeth daily. D) Vicky said that he used to clean his teeth daily.
 
Answer & Explanation Answer: C) Vicky said that he cleaned his teeth daily.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2231
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best expresses the same sentence in Direct/Indirect speech.

"Please don't cry" he said.

A) He begged that I should not cry. B) He begged me not to cry.
C) He said to please him and not cry. D) He told me to not to cry.
 
Answer & Explanation Answer: B) He begged me not to cry.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

0 2231
Q:

Guernica, the world famous painting was painted by 

A) Van Gogh B) Michelangelo
C) Picasso D) Leonardo Da Vinci
 
Answer & Explanation Answer: C) Picasso

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2230
Q:

The Pullman strike in 1894 began when

A) Pullman workers attempted to move out of the company town. B) the Pullman workers’ union voted for a wildcat strike.
C) a recession prompted the Pullman Company to lay off workers. D) a workers’ delegation met with and was fired by George Pullman.
 
Answer & Explanation Answer: C) a recession prompted the Pullman Company to lay off workers.

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2230
Q:

Explain Data Definition Language

Answer

Data Definition Language (DDL):- are the SQL statements that define the database structure.


Example:



  1.  CREATE

  2.  ALTER

  3.  DROP

  4.  TRUNCATE

  5.  COMMENT

  6.  RENAME

Report Error

View answer Workspace Report Error Discuss

1 2230