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

Consider the following statements about Indo-Tibetan Border Police (ITBP) :

1. ITBP was raised in 1962.

2. ITBP is basicsdly a mountain trained force.

3. ITBP replaced Assam Rifles in Sikkim and Arunachal Pradesh in 2004-2005 for border gusirding duly.

4. ITBP presently has 52 service battalions.Which of the statements given above are correct?

 

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

Explanation:

At present, the ITBP has 62 (including 4 service battalions) operational battalions which has close to 62,000 personnel and officers in them. So 4thstatement is incorrect.The Indo-Tibetan Border Police (ITBP) is one of the five Central Armed Police Forces of India, raised on 24 October 1962, under the CRPF Act, in the wake of the Sino-Indian War of 1962.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 32571
Q:

Which new England colony was established by the separatists?

 

A) Bermuda B) Akrotiri
C) Plymouth D) Cayman
 
Answer & Explanation Answer: C) Plymouth

Explanation:

In the year 1620, Plymouth colony was established by separatists.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 32571
Q:

Which of the statements given below are correct?

1. The author of 'The Great Indian Novel' is A.P.J. Abdul Kalam.
2. The author of 'A Foreign Policy For India' is I.K Gujral.
3. 'Wings of Fire' is an Autobiography of A.P.J. Abdul Kalam.

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

9 32546
Q:

egbindinatl correct spelling

A) Television B) Dining table
C) Door step D) Telephone
 
Answer & Explanation Answer: B) Dining table

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

228 32494
Q:

What is the output of this C code?

       #include <stdio.h>
        void main()
        {
            int x = 1, z = 3;
            int y = x << 3;
            printf( "%dn", y );
        }

A) -2147483648 B) -1
C) Run time error D) 8
 
Answer & Explanation Answer: D) 8

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 32471
Q:

Olympus Mons, is the largest ……………. in the solar system?

 

A) Galaxy B) Crater
C) Volcano D) Asteroid
 
Answer & Explanation Answer: C) Volcano

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

1 32438
Q:

Who is the head of the committee formed to commemorate the 75 years of India's independence?

 

A) President B) External Affairs Minister
C) Home Minister D) Prime Minister
 
Answer & Explanation Answer: D) Prime Minister

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 32407