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

Zojila Pass connects which of the following two pairs?

 

A) Srinagar and Leh B) Kalimpong and Lhasa  
C) Chamba and Spiti   D) Arunachal Pradesh and Lhasa  
 
Answer & Explanation Answer: A) Srinagar and Leh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 31934
Q:

In which conference of 1888, the constitution was created for Congress?

 

A) Bombay B) Calcutta
C) Madras D) Allahabad
 
Answer & Explanation Answer: D) Allahabad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

1 31899
Q:

Which of the following has no Skeleton at all?

A) Star fish B) Sponge
C) Jelly fish D) Silver fish
 
Answer & Explanation Answer: C) Jelly fish

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds

439 31856
Q:

For how much duration members of municipalities are elected?

 

 

A) Two years B) Three years
C) Five years D) Six years
 
Answer & Explanation Answer: C) Five years

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 31810
Q:

Who is credited for the construction of the Red Fort?

 

A) Sikandar Lodi B) Akbar
C) Jahangir D) Shah Jahan
 
Answer & Explanation Answer: D) Shah Jahan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 31795
Q:

Meteorology is the study of

 

A) The atmosphere B) Outer space
C) Landforms D) The oceans
 
Answer & Explanation Answer: A) The atmosphere

Explanation:

Meteorology is a branch of science that deals with the study of the atmosphere that focuses on weather processes and forecasting.

 

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

0 31769
Q:

In which of the following years sea travel has been made mandatory for Indian soldiers?

 

A) 1854 AD B) 1856 AD
C) 1857 AD D) 1858 AD
 
Answer & Explanation Answer: B) 1856 AD

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 31745