Questions

Q:

Point out the error in the following program.

main()

{

    char mybuf[] = "Zanzibar" ;

    char yourbuf[] = " Zienckewiz";

    char * const ptr = mybuf;

     *ptr = 'a';

     ptr = yourbuf;

}

Answer

ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

5 7731
Q:

Germany signed the Armistice Treaty on ____ and World War I ended

A) January 19, 1918 B) May 30, 1918
C) November 11, 1918 D) February 15, 1918
 
Answer & Explanation Answer: C) November 11, 1918

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

20 7731
Q:

Quality of transmission depends upon

A) Nature of signal only B) Nature of medium only
C) Both (A) and (B) D) Neither A nor B
 
Answer & Explanation Answer: C) Both (A) and (B)

Explanation:

Quality of transmission is governed both by nature of signal and nature of communication channel/medium.

Report Error

View Answer Report Error Discuss

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

18 7729
Q:

In which country did the hotaki dynasty flourish?

A) Sri Lanka B) China
C) Nepal D) Afghanistan
 
Answer & Explanation Answer: D) Afghanistan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: Bank Exams

4 7729
Q:

What legal services can a lawyer provide?

Answer


    1. Serve clients completely
    2. Be competently loyal to clients
    3. Keep client communications private
    4. Answering legal questions
    5. Helping clients find a solution
    6. Emerge in court on a client’s behalf
    7. Counseling clients

Report Error

View answer Workspace Report Error Discuss

Subject: Law

7 7728
Q:

In plants, exchange of gases takes place through

A) Stomata B) Palisade tissue
C) Spongy tissue D) mid rib
 
Answer & Explanation Answer: A) Stomata

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

48 7728
Q:

______ is the maximum amount of data that can be stored on a storage medium.

A) Magnetic storage B) Optical storage
C) Solid-state storage D) Storage capacity
 
Answer & Explanation Answer: D) Storage capacity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

9 7723
Q:

The Reserve Bank of India does NOT decide the .........

A) Rate of Repo and Reverse Repo B) Marginal Standing Facility Rates
C) Statutory Liquidity Ratio D) Rate of Dearness Allowance to Govt. Employees
 
Answer & Explanation Answer: D) Rate of Dearness Allowance to Govt. Employees

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

12 7714