Logo 
Search:

c programming Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » c programmingRSS Feeds
C++ Programming
Comments: 0

Recursive algorithm for traversing a binary tree in preorder in dfs (data file structure).

PROCEDURE RPREORDER(T)
[Given a binary tree whose root node address is given by the pointer variable T, this algorithm traverses the tree in preorder in a recursive manner].

1. [Check for empty tree]

If T = NULL
then write (“Empty Tree”) ...
Posted By:Vida Fischer      Posted On: Jul 18

C++ Programming
Comments: 0

What is Length of Path in dfs (data file structure)?

The total number of edges which are traverse in a path is called length of path.
Posted By:Shannon Hughes      Posted On: Jul 18

Assembly Language
Comments: 0

Write the function of crossbar switch?

The crossbar switch provides the inter connection paths between the memory module and the processor. Each node of the crossbar represents a bus switch. All these nodes may be controlled by one of these processors or by a separate one altogether.
Posted By:Helga Miller      Posted On: Jul 18

C++ Programming
Comments: 0

Which statement(s) does not invoke the above template correctly? - Select option

Consider the declaration of a template non-type argument in the following code snippet:
template class sample
{
temp a[max];
static int b=50;
// ………
}

Which of the following statement(s) does not invoke the above template correctly?

I. s...
Posted By:Lucas Silva      Posted On: Jul 18

Assembly Language
Comments: 0

What is meant by Maskable interrupts?

An interrupt that can be turned off by the programmer is known as Maskable interrupt.
Posted By:Adam Evans      Posted On: Jul 16

C++ Programming
Comments: 0

Which of the following will assign the value to the class member variable num? void getnum(int

Options

a) {num=a};
b) {num=a;}
c) {a=num};
d) {a=num;}

Answer : b) {num=a;}
Posted By:Gabriel Silva      Posted On: Jul 15

C++ Programming
Comments: 0

Recursive algorithm for traversing a binary tree in preorder in dfs (data file structure).

PROCEDURE RPREORDER(T)
[Given a binary tree whose root node address is given by the pointer variable T, this algorithm traverses the tree in preorder in a recursive manner].

1. [Check for empty tree]

If T = NULL
then write (“Empty Tree”) ...
Posted By:Vida Fischer      Posted On: Jul 18

C++ Programming
Comments: 0

What is Length of Path in dfs (data file structure)?

The total number of edges which are traverse in a path is called length of path.
Posted By:Shannon Hughes      Posted On: Jul 18

Assembly Language
Comments: 0

Write the function of crossbar switch?

The crossbar switch provides the inter connection paths between the memory module and the processor. Each node of the crossbar represents a bus switch. All these nodes may be controlled by one of these processors or by a separate one altogether.
Posted By:Helga Miller      Posted On: Jul 18

C++ Programming
Comments: 0

Which statement(s) does not invoke the above template correctly? - Select option

Consider the declaration of a template non-type argument in the following code snippet:
template class sample
{
temp a[max];
static int b=50;
// ………
}

Which of the following statement(s) does not invoke the above template correctly?

I. s...
Posted By:Lucas Silva      Posted On: Jul 18

Assembly Language
Comments: 0

What is meant by Maskable interrupts?

An interrupt that can be turned off by the programmer is known as Maskable interrupt.
Posted By:Adam Evans      Posted On: Jul 16

C++ Programming
Comments: 0

Which of the following will assign the value to the class member variable num? void getnum(int

Options

a) {num=a};
b) {num=a;}
c) {a=num};
d) {a=num;}

Answer : b) {num=a;}
Posted By:Gabriel Silva      Posted On: Jul 15

  37  38  39  40  41  42  43  44  45  46  47