answersLogoWhite

0

What else can I help you with?

Related Questions

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

true


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.


What is the difference between Declaration and Assignment?

Declaration is basically defining data type and length and assignment is to assign the value. Below is the declaration -- var a integer /* this means we are declaring a variable a as integer data type */ a= 5 /* this is assignment,we are assigning 5 to variable a */


What is variable definition in c language?

variable definition means to declare the variable with its value. for example:- int i=10; this statement is a combination of declaration of integer i and assign its value to it,so it is a definition statement Note: assigning a value is not essential.


What happens by the 'scanf' statement in C programming language?

By using the scanf statement in c,we can take the values at run time . for ex a is a variable of type int so, we can assign the value of a using scanf at run time as follows. scanf("%d",&a); here %d is the conversion specifier for integer type.


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


How can a variable be used in JAVA?

A variable is just a memory location of a valuea variable is accessed by a namesuppose of the integer type u got a variable aSoDECLARATION-int a;and then store any integer value to a.a=4;or take input from user.then perform any arithmetic function on a.a+5;returns 9;there are different variables but the essential concept behind variables is the same!


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";


Which operator is use to find address of a variable?

The dereference operator. In C, we use the * operator for this. Note that the * symbol has several meanings in C (multiplication, pointer declaration and pointer dereferencing). The meaning is determined from the context in which it is used. int x, y; /* integer variables */ int* p; /* pointer variable (pointer to int) */ x = 42; /* assign a value to the x variable */ p = &x; /* assign the address of the x variable to the pointer variable p */ y = *p; /* assign the value pointed to by p (42) to the variable y */