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

Which is considered as the biggest port of India?

A) Kolkata B) Cochin
C) Chennai D) Mumbai
 
Answer & Explanation Answer: D) Mumbai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

188 33425
Q:

A market situation when firms sell similar but not identical products is termed as

 

A) perfect competition B) imperfect competition
C) monopolistic competition D) oligopoly
 
Answer & Explanation Answer: C) monopolistic competition

Explanation:

Monopolistic competition is a type of imperfect competition such that many producers sell products that are differentiated from one another (e.g. by branding or quality) and hence are not perfect substitutes.

In other words, large sellers selling the products that are similar, but not identical and compete with each other on other factors besides price.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

0 33420
Q:

One of the best preserved Buddhist caves, Karla, is in which of the following states?

 

A) Bihar B) Uttar Pradesh
C) Maharashtra D) Uttarakhand
 
Answer & Explanation Answer: C) Maharashtra

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

2 33405
Q:

Railway passenger coaches are manufactured at

A) Varanasi B) Chittaranjan
C) Perambur D) Kolkata
 
Answer & Explanation Answer: C) Perambur

Explanation:

The Integral Coach Factory at Perambur has become a leading rail coach manufacturing factory in the world. Chittaranjan Loco Works now produce diesel engines. Diesel engines are also being assembled at varanasi and Jamshedpur (Tata Elecrtic company of TELCO), BEML also manufactures railway wagons.

Railway_passenger_coaches_are_manufactured_at1558507823.jpg image

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

125 33379
Q:

The headquarters of the Indian Drugs & Pharmaceuticals Ltd is located in

 

A) Gurgaon B) Hyderabad
C) Pune D) Kolkata
 
Answer & Explanation Answer: A) Gurgaon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

1 33375
Q:

What would be the output of the following program ?

main()

{

     const int x = 5; 

      int *ptrx;

      ptrx = &x;

      *ptr = 10;

       printf ("%d", x);

}

A) 5 B) 10
C) Error D) Garbage value
 
Answer & Explanation Answer: B) 10

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 33369
Q:

The minimum forest cover to maintain ecological balance in the plains is

A) 25% B) 33%
C) 40% D) 50%
 
Answer & Explanation Answer: B) 33%

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

92 33295