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

What is Singly or Chain Linked List in dfs (data file structure)?

The way to represent a linear list is to expand each node to contain a link or pointer to the next node. This representation is called a one-way chain or singly linked list.
Posted By:Lurlina Fischer      Posted On: Oct 30

C++ Programming
Comments: 0

What is Primitive Data Structures in dfs (data file structure)?

The data structure that typically are directly operated upon by machine-level instructions and are associated with numerical problems.

e.g: int, char, real.
Posted By:Aimee Hughes      Posted On: Oct 28

C++ Programming
Comments: 0

Consider the following code: cout<< “Welcome”; This is an example of which option

Options

a) C++ statement
b) Return type
c) Function
d) Both a and c

Answer : a) C++ statement
Posted By:Viveka Fischer      Posted On: Oct 28

C++ Programming
Comments: 0

Which of the following is not true about constructors and destructors?

Options

a) They must have the same name as class
b) They cannot return values
c) They cannot be called more than once in a program
d) They are called automatically

Answer : c) They cannot be called more than once in a program
Posted By:Adelberto Fischer      Posted On: Oct 28

C++ Programming
Comments: 0

Consider the following code segment and select one of the option

Consider the following code segment:
class Book {……..};
class Prose : public Book {……….};
class Poetry : public Prose {……….};

The above code is an example of

Options

a) Multiple Inheritance
b) Multilevel Inheritance
c) Hierarchical Inhe...
Posted By:Brenda Fischer      Posted On: Oct 27

C++ Programming
Comments: 0

Mentioned code will not compile. Identify which line should be changed to fix the error.

Consider the following code segment:

1. void main()
2. {
3. list l;
4. list :: iterator i;
5. l.push_back('k');
6. l.push_back('i');
7. l.push_back('n');
8. i=l.end();
9. cout<10.}

The above code will not compile. Identify which l...
Posted By:Alfonsine Miller      Posted On: Oct 27

C++ Programming
Comments: 0

What is Singly or Chain Linked List in dfs (data file structure)?

The way to represent a linear list is to expand each node to contain a link or pointer to the next node. This representation is called a one-way chain or singly linked list.
Posted By:Lurlina Fischer      Posted On: Oct 30

C++ Programming
Comments: 0

What is Primitive Data Structures in dfs (data file structure)?

The data structure that typically are directly operated upon by machine-level instructions and are associated with numerical problems.

e.g: int, char, real.
Posted By:Aimee Hughes      Posted On: Oct 28

C++ Programming
Comments: 0

Consider the following code: cout<< “Welcome”; This is an example of which option

Options

a) C++ statement
b) Return type
c) Function
d) Both a and c

Answer : a) C++ statement
Posted By:Viveka Fischer      Posted On: Oct 28

C++ Programming
Comments: 0

Which of the following is not true about constructors and destructors?

Options

a) They must have the same name as class
b) They cannot return values
c) They cannot be called more than once in a program
d) They are called automatically

Answer : c) They cannot be called more than once in a program
Posted By:Adelberto Fischer      Posted On: Oct 28

C++ Programming
Comments: 0

Consider the following code segment and select one of the option

Consider the following code segment:
class Book {……..};
class Prose : public Book {……….};
class Poetry : public Prose {……….};

The above code is an example of

Options

a) Multiple Inheritance
b) Multilevel Inheritance
c) Hierarchical Inhe...
Posted By:Brenda Fischer      Posted On: Oct 27

C++ Programming
Comments: 0

Mentioned code will not compile. Identify which line should be changed to fix the error.

Consider the following code segment:

1. void main()
2. {
3. list l;
4. list :: iterator i;
5. l.push_back('k');
6. l.push_back('i');
7. l.push_back('n');
8. i=l.end();
9. cout<10.}

The above code will not compile. Identify which l...
Posted By:Alfonsine Miller      Posted On: Oct 27

  94  95  96  97  98  99  100  101  102  103  104