answersLogoWhite

0

You will get something like MAX_INT - number you are trying to assign.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What if -1 is assigned to a unsigned variable in C plus plus?

If you assign -1 to a unsigned variable it will contain the biggest number its able to hold. For example if you assign -1 to a unsigned int it will be 4294967295 as its the biggest number a unsigned int can hold.


What is the purpose of the scanf function?

The scanf() function reads formatted input from stdin according to a format string and assigns the data to specified variable(s). The input data is a character sequence which is converted to the appropriate type, as per the format string, before being assigned to the corresponding variable. Examples: unsigned x; scanf("%u", &x); In the above example, we read an unsigned integer (%u) from the stdin character stream and assign the resultant value to the variable x.


How do you assign value of one variable to another variable in unix?

If you are asking about shell usage, just assign the value as follows: first=5 second=2 first=$second


Which axis of a graph would you assign the independent variable?

The horizontal axis.


How do you assign a variable in C?

name = value example: x=1


Can you assign value to variable without using picture clause in mainframes?

No. In COBOL, any variable must be declared with PIC statement.


How can you declare the variable in PHP?

Variables in PHP do not need to be declared like some languages (e.g. JavaScript). This is all that needs to be done to assign a variable: $variable = "Value";


The command of the Autoexecbat file is used to create and assign a value to an environmental variable?

Set


Difference between numeric constants and numeric variables in qbasic?

A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...A constant is not supposed to change during program execution. A variable may change, in the sense that you assign a value, then another value, then another...


How can assign a value to a variable in GB Basic?

to simply assign a variable a numeric value a=10 anything=12 etc for string variables a$="sweet" ex$="happy christmas" etc to assign a value by input input"enter numerical value";numeric input"enter string value";string$ i hope that clears it up


Array of pointers?

a pointer is a variable that contains memory location of another variable.the value u assign to the pointers are memory address of other variable.


In many languages it is an error to assign a real number to an integer variable True or False?

true