Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
C++ Programming
Comments: 0

Write the equivalent C++ statement for the following expression

X= *c/d

Options

a) X=sqrt(a+b) *(c/d);
b) X=(squareroot(a+b)*c)/d;
c) X=( * c)/d;
d) None of the above


Answer : a) X=sqrt(a+b) *(c/d);
Posted By:Bailey Evans      Posted On: Dec 01

C++ Programming
Comments: 0

Write an algorithm for Deleting an element from the queue using array in dfs

PROCEDURE DELETE(QUEUE, F, R, item)
[Deletes ‘item’ from the ‘stack’, ‘F’ is the Front end pointer and ‘R’ is the rare end pointer]

1. [Underflow ?]

if (R R)
then F <-- R <-- 0
return.
Posted By:Adalia Miller      Posted On: Nov 28

C++ Programming
Comments: 0

What is sequential file organization in dfs (data file structure)?

Sequential file organization is an organization in which records are stored and access in sequential order, as we don’t have any reference for any record.
Posted By:Bourke Fischer      Posted On: Nov 26

Assembly Language
Comments: 0

Give an example of one address microprocessor?

8085 is a one address microprocessor.
Posted By:Sophia Hughes      Posted On: Nov 26

C++ Programming
Comments: 0

Which of the following statements require the header file to be included?

Options

a) a=b/c;
b) cout << a;
c) c=sqrt(a);
d) Both a and c


Answer : d) Both a and c
Posted By:Jackson Bouchard      Posted On: Nov 25

Assembly Language
Comments: 0

Write the features of mode 0 in 8255?

Two 8-bit ports (port A and port B) and two 4-bit ports (port C upper and lower) are available. The two 4-bit ports can be combined used as a third 8-bit port. 2. Any port can be used as an input or output port. 3.Output ports are latched. Input port...
Posted By:Archie Evans      Posted On: Nov 24

  19  20  21  22  23  24  25  26  27  28  29