Logo 
Search:

c sharp Interview FAQs

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

Write an algorithm for Deleting a Node using Singly Linked List in dfs (data file structure).

PROCEDURE DELETE (T, KEY)
[Where ‘head’ pointer has been caught in pointer ‘T’ & the value in ‘key’]

1. [Checking for deletion of first node and deleting]

if (DATA(T) == KEY)
P <-- T
T <-- LINK (T)
Call REMOVE NODE(P)
return (...
Posted By:Lurline Fischer      Posted On: Dec 12

C#
Comments: 1

What is the difference between == and object.Equals?

For value types, == and Equals() usually compare two objects by value. For example:

int x = 10;
int y = 10;
Console.WriteLine( x == y );
Console.WriteLine( x.Equals(y) );
will display:

True
True
However things are ...
Posted By:Geb Chalthoum       Posted On: Oct 05

MS Office
Comments: 1

What is the use of macro? How do we create macro in Excel?

Macro is set of instruction which are stored in Visual Basic module which will make excel to perform commands and actions for you by running them. Excel can repeat a task at any time by using macro. It allows to perform repetitive and complex tasks...
Posted By:Shruti Sharma      Posted On: Jan 20

SQL
Comments: 1

From which two sources can you generate SQL scripts?

You can generate SQL scripts from database tables and the data dictionary.
Posted By:Shruti Sharma      Posted On: Dec 21

C++ Programming
Comments: 1

Identify all the members of the following class xyz:

Identify all the members of the following class xyz:

class xyz
{
int x,y;
public:
xyz();
void calc(int a, int b);
void output_calc(void);
};

Options

a) Data members x and y
b) Data members x and y, Constructor, and member functions c...
Posted By:Brand Fischer      Posted On: Jun 16

C++ Programming
Comments: 1

Define a namespace called ‘samplespace’, which includes a member variable,namely ‘p’

Let us define a namespace called ‘samplespace’, which includes a member variable, namely ‘p’. How will you access this member variable from outside the namespace?

I. using namespace samplespace;
II. using samplespace :: p;
III. samplespace.p;
...
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 1

Write an algorithm for Deleting a Node using Singly Linked List in dfs (data file structure).

PROCEDURE DELETE (T, KEY)
[Where ‘head’ pointer has been caught in pointer ‘T’ & the value in ‘key’]

1. [Checking for deletion of first node and deleting]

if (DATA(T) == KEY)
P <-- T
T <-- LINK (T)
Call REMOVE NODE(P)
return (...
Posted By:Lurline Fischer      Posted On: Dec 12

C#
Comments: 1

What is the difference between == and object.Equals?

For value types, == and Equals() usually compare two objects by value. For example:

int x = 10;
int y = 10;
Console.WriteLine( x == y );
Console.WriteLine( x.Equals(y) );
will display:

True
True
However things are ...
Posted By:Geb Chalthoum       Posted On: Oct 05

MS Office
Comments: 1

What is the use of macro? How do we create macro in Excel?

Macro is set of instruction which are stored in Visual Basic module which will make excel to perform commands and actions for you by running them. Excel can repeat a task at any time by using macro. It allows to perform repetitive and complex tasks...
Posted By:Shruti Sharma      Posted On: Jan 20

SQL
Comments: 1

From which two sources can you generate SQL scripts?

You can generate SQL scripts from database tables and the data dictionary.
Posted By:Shruti Sharma      Posted On: Dec 21

C++ Programming
Comments: 1

Identify all the members of the following class xyz:

Identify all the members of the following class xyz:

class xyz
{
int x,y;
public:
xyz();
void calc(int a, int b);
void output_calc(void);
};

Options

a) Data members x and y
b) Data members x and y, Constructor, and member functions c...
Posted By:Brand Fischer      Posted On: Jun 16

C++ Programming
Comments: 1

Define a namespace called ‘samplespace’, which includes a member variable,namely ‘p’

Let us define a namespace called ‘samplespace’, which includes a member variable, namely ‘p’. How will you access this member variable from outside the namespace?

I. using namespace samplespace;
II. using samplespace :: p;
III. samplespace.p;
...
Posted By:Shruti Sharma      Posted On: Dec 15

1  2  3  4  5  6  7  8  9  10