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

Boost and Crocin brands are owned by which company?

A) GalaxoSmithKline B) Pfizer
C) Henz D) ParasPharma
 
Answer & Explanation Answer: A) GalaxoSmithKline

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

21 7328
Q:

The process of transferring of charge from a charged object to the earth is called ______________.

 

A) neutralisation B) negation
C) terraforming D) earthing
 
Answer & Explanation Answer: D) earthing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

2 7325
Q:

Who is the father of email ?

A) Charles Babbage B) Ray Tomlinson
C) Tim Berners Lee D) Paul Buchheit
 
Answer & Explanation Answer: B) Ray Tomlinson

Explanation:

Email inventor Ray Tomlinson dies at 74. Ray Tomlinson, who sent the first e-mail, has died.

Report Error

View Answer Report Error Discuss

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

18 7307
Q:

Of the following tree structure, which is, efficient considering space and time complexities?

A) Incomplete Binary Tree B) Complete Binary Tree
C) Full Binary Tree D) None
 
Answer & Explanation Answer: B) Complete Binary Tree

Explanation:

Full binary tree loses its nature when operations of insertions and deletions are done. For incomplete binary trees, extra storage is required and overhead of NULL node checking takes place. So complete binary tree is the better one since the property of complete binary tree is maintained even after operations like additions and deletions are done on it.

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

6 7304
Q:

Lathyrism is caused by excess consumption of.......

A) Khesari Dal B) Mustard oil
C) Mushrooms D) Polished rice
 
Answer & Explanation Answer: A) Khesari Dal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

35 7304
Q:

9 P in SS?

Answer

9 P in SS  is a short form for 9 Planets i  Solar System.


 


There are many more of this kind. Some of them are:


 


1. 7 C in a R        -    7 Colours in a Rainbow


2.  90 D in a R A   -    90 Degrees in a Right Angle


3.  52 W in a Y     -    52 Weeks in a Year


4.  5 C in an OF


5.  12 S of the Z

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

7 7303
Q:

Chief Election Commissioner of India can be removed from the office by 

 

A) Both houses of Parliament  B) Union council of Ministers 
C) President of India  D) Chief Justice of India
 
Answer & Explanation Answer: A) Both houses of Parliament 

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

1 7302