C4Swimmers Newsletter  

FAQ

Huge collection of FAQs on C/C++.

(FAQ) C# Frequently Asked Questions Page6

FAQ: C# Frequently Asked Questions Page6

(FAQ) C# Frequently Asked Questions Page5

FAQ: C# Frequently Asked Questions Page5

(FAQ) C# Frequently Asked Questions Page4

FAQ: C# Frequently Asked Questions Page4

(FAQ) C# Frequently Asked Questions Page3 

FAQ: C# Frequently Asked Questions Page3 

(FAQ) C# Frequently Asked Questions

FAQ: C# Frequently Asked Questions Page2

(FAQ) C# Frequently Asked Questions

FAQ: C# Frequently Asked Questions Page1

(Test) C Language Objective Type Questions Page 4

Test : C Language Objective Type Questions Page 4

(Test) C Language Objective Type Questions Page 3

Test : C Language Objective Type Questions Page 3

(Test) C Language Objective Type Questions Page 2

Test : C Language Objective Type Questions Page 2

Question 26
Code:
int x = 3; 
if( x == 2 );
  x = 0; 
if( x == 3 )
 x++; 
else x += 2;
What value will x contain when the sample code above is executed?
1) 1
2) 2[Ans]
3) 3
4) 4
5) 5

Question 27
Code:

(Test) C Language Objective Type Questions Page 1

Test : C Language Objective Type Questions Page 1

(FAQ) C# Interview questions - Events and Delegates

FAQ : C# Interview questions - Events and Delegates

1. What’s a delegate?
A delegate object encapsulates a reference to a method.

2. What’s a multicast delegate?
A delegate that has multiple handlers assigned to it. Each assigned handler (method) is called.

(FAQ) C# interview questions - Method and Property Questions

in

FAQ : C# interview questions - Method and Property Questions

1. What’s the implicit name of the parameter that gets passed into the set method/property of a class?
Value. The data type of the value parameter is defined by whatever data type the property is declared .

2. What does the keyword “virtual” declare for a method or property?
The method or property can be overridden.

(FAQ) C# interview questions - Class Questions

in

FAQ : C# interview questions - Class Questions

1.What is the syntax to inherit from a class in C#?
Place a colon and then the name of the base class.
Example: class MyNewClass : MyBaseClass

2.Can you prevent your class from being inherited by another class?
Yes. The keyword “sealed” will prevent the class from being inherited.

(FAQ) C# interview questions - General Questions

in

Quiz : C# interview questions - General Questions

1.Does C# support multiple-inheritance?
No. But you can use Interfaces.

2.Where is a protected class-level variable available?
It is available to any sub-class derived from base class

3.Are private class-level variables inherited?
Yes, but they are not accessible.

(FAQ) NetBeans C/C++ Development Pack FAQ

in

FAQ : NetBeans C/C++ Development Pack FAQ

(Documentation) Carbide.c++ FAQ

in

Documentation : Carbide.c++ FAQ

Description
This document answers frequently asked questions about the Carbide tools and Carbide.c++.

Type:
Frequently Asked Questions

Intended Audience:
Business Developer
Developer

(Paper) Multiple Choice Questions for System Develpoment Life Cycle (SDLC)

(Paper) Multiple Choice Questions for System Develpoment Life Cycle (SDLC)

(TUTORIAL) Getting Started with ASP.NET Ajax

(TUTORIAL) Getting Started with ASP.NET Ajax

(CODE) Testing the Copy Constructor and the Assignment Operator

(CODE) Testing the Copy Constructor and the Assignment Operator

You have written a test program for your class X, and everything worked fine. How did you test the copy constructor and the assignment operator?

(ARTICLE) Stacks and Queues

(ARTICLE) Stacks and Queues 

Stack is abstract data type where elements inserted into stack using push model until entire stack is full. Elements/values can be removed using pop operation until entire stack is empty. This is a data type where last inserted elements are removed first. Stacks can be implemented in multiple ways, since stacks are considered abstract there is no implementation of stack data type in C or C++ (java does have a stack data type).

Syndicate content