Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to get the default value of static variable in C?

Status
Not open for further replies.

rameshbabu

Member level 2
Member level 2
Joined
Aug 1, 2007
Messages
46
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,663
In C the default value of static variable is zero, how we are getting it.
 

C

The compiler links in 'Start up code'.
The start up code initialises the system, such as static variables, global variables, constants, etc.
The start up code is usually a small assembler module which you can modify if you need to.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top