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

What travels around the world and stays in one spot?

A) Slippers B) Walking stick
C) Stamps D) None of the above
 
Answer & Explanation Answer: C) Stamps

Explanation:

Stamps are what travel around the worldstaying in one spot. Slippers and walking stick can also travel around the world but they will not stay at one spot. So they are eliminated.

Report Error

View Answer Report Error Discuss

3 3099
Q:

The folk dance of which state is Kargam?

A) Tamil Nadu B) Andhra Pradesh
C) Kerala D) Odisha
 
Answer & Explanation Answer: A) Tamil Nadu

Explanation:

Kargam is the folk dance of Tamil Nadu state.

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

5 3099
Q:

Which of the following terms is used to describe as computer  Malware ?

A) Spartan B) Persian
C) Roman D) Trojan
 
Answer & Explanation Answer: D) Trojan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

0 3099
Q:

India's largest e-commerce player Flipkart recently bought eBay's India business, and closing a $1.4 billion fund-raising round from Tencent, eBay and Microsoft. Name the Chief Executive Officer of Flipkart.

A) Devin Wenig B) Kalyan Krishnamurthy
C) Jeff Bejos D) Satya Nadella
 
Answer & Explanation Answer: B) Kalyan Krishnamurthy

Explanation:

India's largest e-commerce player Flipkart buys eBay's India business, and closing a $1.4 billion fund-raising round from Tencent, eBay and Microsoft. Mr. Kalyan Krishnamurthy is the CEO of Flipkart.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 3099
Q:

First page of website is termed as

A) Index B) Home page
C) JAVA Script D) Bookmark page
 
Answer & Explanation Answer: B) Home page

Explanation:
Report Error

View Answer Report Error Discuss

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

2 3099
Q:

Cells with similar markers stick together and function as

A) Organs B) Tissues
C) Systems D) Organisms
 
Answer & Explanation Answer: B) Tissues

Explanation:

A tissue is an ensemble of similar cells and their extracellular matrix from the same origin that together carry out a specific function.

 

Hence, Cells with similar markers stick together and function as tissues.

Report Error

View Answer Report Error Discuss

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

2 3099
Q:

Which of the following carbohydrates is a polysaccharide?

A) Fructose B) Cellulose
C) Glucose D) Sucrose
 
Answer & Explanation Answer: B) Cellulose

Explanation:

Carbohydrates are also called as saccharides are molecular compounds made from just three elements:

carbon, hydrogen and oxygen.

 

Carbohydrates are:

* a source of energy for the body e.g. glucose and a store of energy, e.g. starch in plants

* building blocks for polysaccharides (giant carbohydrates), e.g. cellulose in plants and glycogen in the human body

* components of other molecules eg DNA, RNA, glycolipids, glycoproteins, ATP

 

Types:

1. Monosaccharides (e.g. glucose) and

2. Disaccharides (e.g. sucrose) are relatively small molecules. They are often called sugars.

3. Other carbohydrate molecules are very large called Polysaccharides such as starch and cellulose.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

3 3098