answersLogoWhite

0

Windows:

#include

SOCKET s;

Other:

int s;

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you use define in C?

Just type declare then the variable that you desire to assigned a certain constant value on it. Just type declare then the variable that you desire to assigned a certain constant value on it.


Declare the variable longPtr to be a pointer to an object of type long?

long *longPtr;


What is a declaring variable?

Variable declaration is when you declare a variable. For example: String foo; The data type is String and now I can modify foo and don't need to type String again. It can be an instance variable or a local variable.


Where the local variables will be stored?

When you declare a variable and it's data type in a function, it is stored in the specific space for memory allocated by the variable type identifier known as the "stack."


What do you call programming languages that require you to declare the type of each variable?

Statically typed languages.


How do you declare variables and constants.explain with example?

Depends on the programming language you are using. I will give two simple examples. In Command Prompt and when creating a batch file, you declare a variable by entering the "set" command. You can use different switches to change the type of variable you are declaring. /p makes the variable able to accept user input. /a makes the variable a numerical expression. In Python, you declare a variable just by stating the name of the variable and its value. x = value.


How do you declare a variable holding real numbers in pseudocode?

In pseudocode, you can declare a variable holding real numbers by specifying the variable name followed by its type. For example, you might write REAL numberVariable; or DECLARE numberVariable AS REAL;. This indicates that numberVariable will store a real number value. You can then assign a value to it using an assignment statement, such as numberVariable = 3.14;.


How do you return an object in java?

With the command return, followed by an object variable. In the method header, you have to declare the return type as the class of the object.


Why you have to declare variable first in turbo c?

All variables (and constants) must be declared before they can be used. This is so the compiler knows exactly how much memory to allocate to the variable, as the declaration tells the compiler exactly what the variable's type is.


Why should you declare variables?

Declaring of a variable in Java refers to creating a variable of a particular data type. Example: int x = 10; Here we are declaring an integer variable X and initializing it to a value of 10


What two things must you normally specify in a variable declaration?

This is when you specify the name and type of the variable.Example:int number;The declaration line can also include an instantiation for that variable.Example:int number = 5;When you declare a variable or an object (particularly in OOP programming) , you set aside a chunk of memory space for the data to reside.


What are the various method to declare a function?

*Return variable type* *Function Name* (*Function parameters*) For example: int MyFunction (x,y)