answersLogoWhite

0

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

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What happens if you assign a negative number to an unsigned variable?

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


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


What statement is used to assign a value to a variable?

In programming, the statement used to assign a value to a variable is typically the assignment statement, which often uses the equals sign (=). For example, in Python, you would write x = 5 to assign the value 5 to the variable x. This statement sets the variable to hold the specified value, allowing it to be used later in the program.


How do you assign a variable in C?

name = value example: x=1


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

The horizontal axis.


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


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.


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