What is static and auto variables in c?
Answer / Divyendu Singh
"Static variables are declared with the storage class keyword 'static'. They retain their values between function calls and have internal linkage. Auto variables, on the other hand, are not explicitly declared as static. They are created when a function is called and destroyed when it returns. They have external linkage."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of a semicolon (;) at the end of every program statement?
what are the 10 different models of writing an addition program in C language?
Write a code to remove duplicates in a string.
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
what's the return value of malloc()
What is c language & why it is used?
What are 'near' and 'far' pointers?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Can the sizeof operator be used to tell the size of an array passed to a function?
What are predefined functions in c?
write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables
Is c++ based on c?