What are static variables, and where are they stored?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Static variables retain their value across multiple function calls. They are stored in the data segment of memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a spanning Tree?
Is main() is used in the program,,see below example? void main() { int i; for(i=0;i<10;i++) main(); } Then what is the output of the program?
using for loop sum 2 number of any 4 digit number in c language
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is the difference between abs() and fabs() functions?
program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.
What is the meaning of ?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is the difference between array and linked list in c?
explain what is an endless loop?
what is the use of ‘auto’ keyword?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;