Sign Up | Sign In
Ask Questions & Get Answers at ibibo sawaal

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

Asked in Computers & Technology at 9:37 AM on October 31, 2008

Tags: global static local register variables free

Report abuse
gilli ...
gilli ...

Related Search

 

what is global variable?

environment paradigm is contrasted with the local environment paradigm, where all variables are local with no shared memory and therefore all interactions can be reconducted to message passing.The use of global. They can lead to problems of naming because a global variable makes a name dangerous to use for any other local or object scope variable. A local variable of the same name can shield the global variable from

Posted in Computers & Technology by kokila vani at 7:23 PM on September 12, 2008
Tags global

What is static in java?

last values, initilized once2 Only one copy is placed in memory and all the objects shares the same copy of static variablesLike a global variable to all objects=>When we create static methods-1 Can the same copy of static variablesLike a global variable to all objects=>When we create static methods-1 Can only use static variables2 Can be called without object.Reason is if we dont want to store data

Posted in Computers & Technology by lucky at 12:36 AM on May 17, 2008
Tags static, java

What are the new features in C 2.0?

belong to the "root" namespace. This is achieved with the predefined alias of global.Static ClassIn C 2.0, there are static classes. These are simply declared using the static modifier;root" namespace. This is achieved with the predefined alias of global.Static ClassIn C 2.0, there are static classes. These are simply declared using the static modifier. They cannot be derived from or instantiated

Posted in Computers & Technology by Radhe Radhe at 8:33 PM on May 30, 2008
Tags features

what are the different types of networks and also give their range or distance?

lets the same IP addresses be used internally by multiple companies, it reduces the demand for globally unique, static IP addresses.LANLocal Area Network. A local-area network is a short-distance network. In addition, because NAT lets the same IP addresses be used internally by multiple companies, it reduces the demand for globally unique, static IP addresses.LANLocal Area Network. A local-area network is a

Posted in Computers & Technology by SWATI SHARMA at 2:54 AM on June 30, 2008

What are different types of inner classes?

to be useful beyond the declaration block, it would need to implement amore publicly available interface.Because local classes are not members, the modifiers public, protected, private, and static are not usable to be useful beyond the declaration block, it would need to implement amore publicly available interface.Because local classes are not members, the modifiers public, protected, private, and static are not usable

Posted in Computers & Technology by jks marven at 1:06 PM on May 28, 2008

How do I prevent the "static initialization order fiasco"?

Well Suraj! Just use the same technique just described, but this time use a static member function rather than a global function. Suppose you have a class X that has a static Fred object: // File X. As you recall, static local are only initialized once the first time control flows over their declaration, so this will call X::x only once: the first time X::someMethod is called: void X

Posted in Computers & Technology by surajkumar at 11:56 PM on November 13, 2008

How do I prevent the "static initialization order fiasco" for my static data members?

Just use the same technique just described, but this time use a static member function rather than a global function.Suppose you have a class X that has a static Fred object: // File X.h class X super performance sensitive and youre concerned about the overhead of an extra function call on each invocation of X::someMethod you can set up a static Fred& instead. As you recall, static local

Posted in Computers & Technology by surajkumar at 11:57 PM on November 13, 2008

What is NAT?

administrators create a NAT table that does the global-to-local and local-to-global IP address mapping. NAT can also be used in conjunction with policy routing. NAT can be statically defined or it can be set up to dynamically translate from and to a pool of IP addresses. Ciscos version of NAT lets an administrator create tables that map: A local IP address to one global IP address statically A local IP address to any

Posted in Computers & Technology by lucky at 11:52 PM on May 22, 2008
Tags nat

What is static in java?

the objects shares the same copy of static variablesLike a global variable to all objects=>When we create static methods-1 Can only use static variables2 Can be called without object.Reason is if we donthi singh Static means one per class, not one for each object no matter how many instance of a class might exist. This means that you can use them without creating an instance of a class.Static

Posted in Computers & Technology by rocky singh at 5:24 AM on June 22, 2008
Tags static, java

What is NAT

version of NAT lets an administrator create tables that map: A local IP address to one global IP address statically A local IP address to any of a rotating pool of global IP addresses that a company may network. One network is designated the inside network and the other is the outside. Typically, a company maps its local inside network addresses to one or more global outside IP addresses and unmaps

Posted in Computers & Technology by Rakesh at 12:57 PM on May 30, 2008
Tags nat

What is the difference between static global and local global variable?

The global variable can be shared across multiple files. But the global static variable cannot be shared across multiple files. Hence if you want the variable should be modified in some other file, you can make it a global variable and if you want a global variable only in the file you are declaring and not to shared across, you make it static global.the following code snippet should be useful

Posted in Computers & Technology by gilli... at 3:08 PM on November 03, 2008

What is the scope of a variable DIMmed in different parts of a project? excludes Static variables

upon exiting that routine; the global variable remains valid. Download VB4 demo and view the code. Generally, using the same name for a Public and Local variable is concidered poor programming practice variables contents is not affected by use of the local variable of the same name. The local variable is destroyed upon exiting that routine; the global variable remains valid. Download a VB4 demo and view

Posted in Computers & Technology by Gomati at 10:49 PM on September 19, 2008

Similar Questions

Left Ads
© 2006 - 2013 ibibo Web Pvt Ltd. All rights reserved.