Questions

Q:

Indicate what would the SWAP macro be expanded to on preprocessing. Would the code compile?

#define SWAP (a, b, c ) (c t; t = a, a = b, b = t; )

main()

{

    int x = 10, y = 20;

    SWAP (x, y, int );

    printf ( " %d%d ", x, y);

}

Answer

( int t ; t = a, a = b, b = t ;);


This code won't compile since declaration of t cannot occur within parentheses.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3175
Q:

Who is the director of the Sanskrit film Adi Sankara

Answer

G.V. Iyer

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

47 3175
Q:

How many member countries are there in Shanghai Cooperation Organisation (SCO) ?

A) 5 B) 7
C) 6 D) 8
 
Answer & Explanation Answer: C) 6

Explanation:

There are six permanent members: China, Kazakhstan, Kyrgyzstan, Russia, Tajikistan, Uzbekistan. Soon India and Pakistan will also join it.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

4 3175
Q:

SEBI is evaluating whether ICO (Initial Coin Offerings) can be brought under its purview. ICO is related to ______.

 

A) Dollars B) Pounds
C) Rupees D) Cyptocurrency
 
Answer & Explanation Answer: D) Cyptocurrency

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

4 3174
Q:

I am a box that holds keys without locks, yet they can unlock your soul. What am I?

A) Keyboard B) Keypad
C) Piano D) Key holder
 
Answer & Explanation Answer: C) Piano

Explanation:
Report Error

View Answer Report Error Discuss

5 3174
Q:

Peacock was declared National Bird of India in which year?

A) 1963 B) 1960
C) 1953 D) 1950
 
Answer & Explanation Answer: A) 1963

Explanation:

In 1963, the peacock was declared theNational Bird of India because of its rich religious and legendary involvement in Indian traditions.

Report Error

View Answer Report Error Discuss

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

20 3173
Q:

What is the retirement age of the Prime Minister of India?

A) 60 years B) 70 years
C) 65 years D) No limit
 
Answer & Explanation Answer: D) No limit

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams , CAT

0 3173
Q:

A body given with an initial velocity moved under the effect of gravity is called?

Answer

Projectile

Report Error

View answer Workspace Report Error Discuss

Subject: Physics

6 3172