Questions

Q:

What will be output of following program?


#include <stdio.h>
int main()

{
   void (*p)();
   int (*q)();
   int (*r)();
   p = clrscr;
   q = getch;
   r = puts;
  (*p)();
  (*r)("www.sawaal.com");
  (*q)();
  return 0;
}

A) NULL B) www.sawaal.com
C) Compilation error D) None of above
 
Answer & Explanation Answer: B) www.sawaal.com

Explanation:

p is pointer to function whose parameter is void and return type is also void. r and q is pointer to function whose parameter is void and return type is int . So they can hold the address of such function.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 31544
Q:

Esc key in a windows keyboard is not used to

 

A) Close a dialog-box B) Run a selected command
C) Cancel a command D) Close a selected drop down list
 
Answer & Explanation Answer: B) Run a selected command

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

9 31519
Q:

Consider the following statements about indifference curves:

1. Indifference curves are convex to the origin.

2. Higher indifference curve represents higher level of satisfaction.

3. Two indifference curves cut each other.Which of the statements given above is/are correct?

A) 1 only B) 1 and 2
C) 2 and 3 D) 3 only
 
Answer & Explanation Answer: B) 1 and 2

Explanation:

The indifference curves cannot intersect each other.

Higher indifference curve represents a higher level of satisfaction because higher IC means a bundle consisting more of both the goods or same quantity of one good n more quantity of the other good .Hence statement 2 is correct and 3 is incorrect.

Indifference curves is convex to the point of origin because of diminishing Marginal Rate of Substitution.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 31502
Q:

What is the national sport of Pakistan?

 

A) Cricket B) Football
C) Hockey D) Table Tennis  
 
Answer & Explanation Answer: C) Hockey

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 31458
Q:

Which of the following tax was initiated by the Alauddin Khilji?

 

A) Kharaj B) Kankut
C) Ghari D) Zakat
 
Answer & Explanation Answer: C) Ghari

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 31413
Q:

1. All beutiful things are sad.She is beutiful.She is sad

2. All nice things are flat.TV are flat.TV's are nice things

3. Potatoes are stems.All stems are fruits.Potatoes are fruits

 

Choose the alternative where the 3rd segment can be deduced from above two

A) 1 only B) 1 and 2
C) 3 only D) 1 and 3
 
Answer & Explanation Answer: D) 1 and 3

Explanation:
Report Error

View Answer Report Error Discuss

0 31404
Q:

The journalist who refused to accept Padma Bhushan was

A) Shekharan Nair B) Khushwant Singh
C) Arun Shourie D) Ratan Thiyam
 
Answer & Explanation Answer: B) Khushwant Singh

Explanation:

Khushwant Singh (Journalist) : Returned his Padma Bhushan in protest against Operation Blue Star (1984); awarded Padma Vibhushan in 2007.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

97 31400
Q:

Which among the following is/are the unitary feature(s) of Indian Constitution?

 

I. Single Constitution for State and Centre

II. Single Citizenship

III. Integrated Judiciary

 

A) Only I B) Only II
C) Both I and II D) All I, II and III
 
Answer & Explanation Answer: D) All I, II and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

1 31370