having more variables in program increases size?

R

raashid bhatt

indeed having more variables in program increases its size, but as per
i have read in many books the variables get stored in RAM not hardisk
 
S

santosh

raashid said:
indeed having more variables in program increases its size, but as per
i have read in many books the variables get stored in RAM not hardisk

The C language itself doesn't specify how and where "variables" are
created and stored. This is decided by the compiler and your operating
system.
 
L

Lee

raashid said:
indeed having more variables in program increases its size, but as per
i have read in many books the variables get stored in RAM not hardisk


How about creating one single thread with all your queries instead of of
10 different threads?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top