answersLogoWhite

0

Global Variables

Or: variables with names longer than 128 characters.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

Define briefly about procedures and macros in microprocessor?

Procedures-Procedure is the set of codes written in other module used 2 solve a specific task and can be included in the main program when an instruction CALL is used in the program. Macro is also the set of codes used in the 'main program' or same module used to solve a specific task. Macros can be called in the program with the syntax using syntax-MACRO_NAME(actual variables). But the macros should be included in the program with the syntax MACRO_NAME(dummy variables). Dummy and actual variables should match.


What is called when a data value appears directly in a statement?

It can be called hard coding the data. For many things in computing it should be avoided if possible in favour of using variables or defined constants, in order to give more flexibility and structure to a program.


Where does global static local register variables free memory and C Program instructions get stored?

* These are all implementation defined. Access to `register' specified indentifiers should be as fast as possible, so the compiler may place the value in a machine register. However, the compiler is free to treat a `register' declaration as an `auto' declaration. * Where free memory is maintained is an OS specific concept. Instructions are generally stored in code segement. Local Variables are stored in Stack. Register variables are stored in Register. Global & static variables are stored in data segment. The memory created dynamically are stored in Heap And the C program instructions get stored in code segment.


What are all the variables?

There are 'constant variables' , 'independant variables' and 'dependent variables' Constant Variable- things in the experimment that should be kept the same Independant variables- something that can be varied in an experiment Dependant variable- something that can be affected


Why structure variables cannot be compared?

They can be compared with memcmp, but you should be careful if your structures contain:- pointers- alignment gaps- numeric variables (byte order!)- nested structures/unions

Related Questions

When possible you should avoid using variables in a program.?

global


Should you advoid ice cream during weight training?

absolutely not..in moderation...


When is better to use global variables rather than utilizing local variables in a program?

In my opinion it is rarely a good idea to use global variables, unless you need to refer to them across modules, or their values need to be keep for a long period of program execution. Local variables should always be used when their lifetime is short, usually only in the module they are declared in. Global variables lifetime will be for the length of the program execution.


Define briefly about procedures and macros in microprocessor?

Procedures-Procedure is the set of codes written in other module used 2 solve a specific task and can be included in the main program when an instruction CALL is used in the program. Macro is also the set of codes used in the 'main program' or same module used to solve a specific task. Macros can be called in the program with the syntax using syntax-MACRO_NAME(actual variables). But the macros should be included in the program with the syntax MACRO_NAME(dummy variables). Dummy and actual variables should match.


What is the best number of variables for a scientific investigation?

In an experiment containing a number of possible variables only one of these should be altered in each individual experiment. Otherwise it is not possible to determine which variable is responsible for a particular change.


What is called when a data value appears directly in a statement?

It can be called hard coding the data. For many things in computing it should be avoided if possible in favour of using variables or defined constants, in order to give more flexibility and structure to a program.


Why should as many as possible variables be changed at a time?

They shouldn't, ever. It defies the whole point of a controlled experiment.


Can you defer your acceptance to a PhD program?

Yes, it is possible to defer your acceptance to a PhD program, but you should check with the specific program and university for their policies and procedures regarding deferrals.


You dated and now are friends but you are not sure you should be any more what should you do?

Then you should just stop being friends and tell them that you don't want to hang out with them anymore, because it's lame to just run away and advoid people.


Where does global static local register variables free memory and C Program instructions get stored?

* These are all implementation defined. Access to `register' specified indentifiers should be as fast as possible, so the compiler may place the value in a machine register. However, the compiler is free to treat a `register' declaration as an `auto' declaration. * Where free memory is maintained is an OS specific concept. Instructions are generally stored in code segement. Local Variables are stored in Stack. Register variables are stored in Register. Global & static variables are stored in data segment. The memory created dynamically are stored in Heap And the C program instructions get stored in code segment.


How many variables should there be in a good experiment?

There should be one dependent variables. Depending on the type of research you are doing, the amount of independent variables will change. If you are doing research on a large scale, you will use more independent variables. If it's on a small scale, you will use very little. If you are not able to run your regression it means your sample size is too small or you have too many independent variables.


Who should you contact to report a possible vulnerability to you organization's mission?

OPSEC program manager,Supervisor, Commander/director