Questions

Q:

What will be output of following program ?

#include
int main()

{

int a = 10;
void *p = &a;
int *ptr = p;
printf("%u",*ptr);
return 0;

}

A) 10 B) Address
C) 2 D) Compilation error
 
Answer & Explanation Answer: A) 10

Explanation:

Void pointer can hold address of any data type without type casting. Any pointer can hold void pointer without type casting.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 16888
Q:

List out some reasons for process termination.

Answer

- Normal completion


- Time limit exceeded


- Memory unavailable


- Bounds violation


- Protection error


- Arithmetic error


- Time overrun


- I/O failure


- Invalid instruction


- Privileged instruction


- Data misuse


- Operator or OS intervention


- Parent termination.

Report Error

View answer Workspace Report Error Discuss

22 16885
Q:

Improve the bracketed part of the sentence.

 

(As soon after the players arrived) in decorated cars, the ceremony began with traditional African drummers and dancers blowing conch shells.

 

A) Soon after the players arrive B) Soon after the players arrived
C) As soon as the players arrived after D) No improvement
 
Answer & Explanation Answer: B) Soon after the players arrived

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16874
Q:

Optical fiber works on the principle of

A) Scattering B) interference
C) total internal reflection D) refraction
 
Answer & Explanation Answer: C) total internal reflection

Explanation:

Optical_fiber_works_on_the_principle_of1556277954.jpg image

 

Optical fiber works on the principle of total internal reflection.

 


The Total Internal Reflection is the phenomenon in which the complete reflection of a light ray reaching an interface with a less dense medium when the angle of incidence exceeds the critical angle.

Report Error

View Answer Report Error Discuss

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

40 16871
Q:

Select the antonym of

to conceive

A) to reckon B) to neglect
C) to apprehend D) to perceive
 
Answer & Explanation Answer: B) to neglect

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16865
Q:

In the binary Language each letter of  the alphabet, each number and each special character is made up of a unique combination of  _________

A) eight bytes B) eight kilobytes
C) eight characters D) eight bits
 
Answer & Explanation Answer: D) eight bits

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

57 16862
Q:

Improve the bracketed part of the sentence.

 

Kanika accepted the invitation (on) alacrity.

A) in B) with
C) from D) No improvement
 
Answer & Explanation Answer: B) with

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16858
Q:

Eye Test Logical Challenge

lines1499317691.jpg image

A) 15 B) 14
C) 16 D) 17
 
Answer & Explanation Answer: A) 15

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Logic Puzzles
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk

58 16854