What is the difference between static and global variables?
Answer Posted / kush joshi
static variable only can access within a function where
these declared, but the global variables access any where in
the program.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain what are linked list?
What is the mean of function?
Explain what is the difference between a free-standing and a hosted environment?
Why c is called object oriented language?
Write a C program to count the number of email on text
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Explain how are portions of a program disabled in demo versions?
What is time null in c?
What is include directive in c?
What's the difference between constant char *p and char * constant p?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Explain what is dynamic data structure?
How many levels of indirection in pointers can you have in a single declaration?