Job Roles

Q:

Define void pointer using C++.?

Answer

In C++, void represents the absence of type, so void pointers are pointers that point to a value that has no type. The void pointers can point to any data type.


You can declare void pointer as follows:


void *p;

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

0 3409
Q:

If the mean of a, b, c is M and ab + bc + ca = 0, then the mean of a2+b2+c23 is :

A) M B) 3 M^2
C) 2 (M/3) D) M^2
 
Answer & Explanation Answer: B) 3 M^2

Explanation:

We have : ( a + b + c) / 3 = M   or (a + b + c) = 3M.

Now. a+b+c2=3M2=9M2 .

 

 

 

<=>a2+b2+c2+2ab+bc+ca=9M2

 

 

 

a2+b2+c2=9M2   ,(ab+bc+ca=0)     

 

 

 

Required mean =a2+b2+c23=9M23=3M2 .

Report Error

View Answer Report Error Discuss

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

35 26657
Q:

If 20% of a = b, then b% of 20 is the same as :

A) 4% of a B) 6% of a
C) 8% of a D) 10% of a
 
Answer & Explanation Answer: A) 4% of a

Explanation:

20% of a = b 

=> (20/100) * a = b 

 b% of 20 =(b/100) x 20 = [(20a/100)  / 100] x 20= 4a/100 = 4% of a.

Report Error

View Answer Report Error Discuss

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

1275 147048
Q:

Fresh fruit contains 68% water and dry fruit contains 20% water. How much dry fruit can be obtained from 100 kg of fresh fruits ?

A) 20 B) 30
C) 40 D) 50
 
Answer & Explanation Answer: C) 40

Explanation:

The fruit content in both the fresh fruit and dry fruit is the same.

 

Given, fresh fruit has 68% water.so remaining 32% is fruit content. weight of fresh fruits is 100kg

 

Dry fruit has 20% water.so remaining 80% is fruit content.let weight if dry fruit be y kg.

 

Fruit % in freshfruit = Fruit% in dryfruit 

 

Therefore, (32/100) x 100 = (80/100 ) x y 

 

we get, y = 40 kg.

Report Error

View Answer Report Error Discuss

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

1165 94350
Q:

Which of the following is not a vector quantity?

A) speed B) velocity
C) torque D) displacement
 
Answer & Explanation Answer: A) speed

Explanation:

Which_of_the_following_is_not_a_vector_quantity1552385336.png image

A vector quantity is a quantity which has both magnitude and direction. Here in the given options, speed is a scalar quantity but not the vector quantity.

Report Error

View Answer Report Error Discuss

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

241 33763
Q:

Which of the following is a scalar quantity

A) electric current B) electric field
C) Acceleration D) linear momentum
 
Answer & Explanation Answer: A) electric current

Explanation:

A Scalar quantity is a quantity that has only magnitude but no direction as like vector. 

Here in the given options, electric current is the only one which is scalar.

Report Error

View Answer Report Error Discuss

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

21 9420
Q:

Gandhara school of art came into existence in

Gandhara_school_of_art_came_into_existence_in1541400001.jpg image

A) Hinayana sect B) Mahayana sect
C) Vaishanava sect D) Shaiva sect
 
Answer & Explanation Answer: B) Mahayana sect

Explanation:

The Gandhara school of art came into existence in Mahayana sect.

Report Error

View Answer Report Error Discuss

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

82 29552
Q:

Who of the following was a contemporary of Gautama Buddha?

A) Bhadrabahu B) Chandragupta Maurya
C) Parsvanath D) Vardhaman Mahavira
 
Answer & Explanation Answer: D) Vardhaman Mahavira

Explanation:

Vardhamana Mahavira, also known as Mahavira, was the twenty-fourth tirthankara who revived Jainism.

 

Who_of_the_following_was_a_contemporary_of_Gautama_Buddha1558589020.jpg image

 

Both Mahavira and Gauthama Buddha are contemporary to each other as they propound their religions Jainism and Buddhism in India.

Report Error

View Answer Report Error Discuss

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

101 37283