Questions

Q:

What would be the output of the following program?

main()

{

    static int a[20];

    int i = 0;

    a[i] = i++;

    printf ("\n%d%d%d", a[0],  a[1], i);

}

Answer

0  0  1


That's what some of the compilers would give. But some other compiler may give a different answer. The reason is, when a single expression causes the same object to be modified and then inspected the behaviour is undefined.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2224
Q:

The Great Gatsby is written in which point of view?

A) first person limited B) first person omniscient
C) third person limited D) None of the above
 
Answer & Explanation Answer: A) first person limited

Explanation:

A first person point of view is said by a character who is invoved in the events of the story and unlike third person point of views will actually use words such as 'we' or 'I'.

  

The Great Gatsby is told from the point of view of Nick Carroway. He is from the Midwest, but narrates the story after it takes place in the East. As such, he is an outsider, and tends to judge what he experiences in the East based on his midwestern ideas and values.

 

Nick makes an effort to assure the reader that he is nonjudgmental and completely honest. This is ironic, because he is very judgmental and opinionated.

Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams , AIEEE
Job Role: Bank PO , Analyst

3 2223
Q:

Which of the following sports is almost always illegal?

A) Base jumping B) Boxing
C) Basket ball D) Rugby
 
Answer & Explanation Answer: A) Base jumping

Explanation:

Base jumping is almost always illegal.

Report Error

View Answer Report Error Discuss

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

0 2223
Q:

What is program counter in 8085?

Answer

Program counter holds the address of either the first byte of the next instruction to be fetched for exectuion or the address of the next byte of a multi byte instruction, which has not beeb completely fetched. in both the cases it gets increnented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2223
Q:

what is the interrupt?

Answer

interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work.


A signal informing a program that an events has occurred. when a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal).

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2223
Q:

What is the purpose of SQL Profiler in SQL server?

Answer

SQL profiler is a tool to monitor performance of various stored procedures. It is used to debug the queries and procedures. Based on performance, it identifies the slow executing queries. Capture any problems by capturing the events on production environment so that they can be solved.

Report Error

View answer Workspace Report Error Discuss

1 2223
Q:

Which one of the following is not situated on Varanasi -Kanyakumari National Highway?

A) Satna B) Rewa
C) Katni D) Jabalpur
 
Answer & Explanation Answer: A) Satna

Explanation:

Satna is not situated on Varanasi-Kanyakumari National Highway.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

2 2223
Q:

Related to computers, what is 'Wetware' ?

A) Computer programs B) Circuitory
C) Human brain D) Chemical storage devices
 
Answer & Explanation Answer: C) Human brain

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer

3 2223