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 |
How do you declare a variable that will hold string values?
Explain the difference between exit() and _exit() function?
how to find the largest element of array without using relational operater?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(ā%dā,s.x); }
I came across some code that puts a (void) cast before each call to printf. Why?
What is return type in c?
is assignment operator is arithmatic or not
What is use of pointer?
#include<stdio.h> main() { int i=5; printf("%d",i*i-- - --i*i*i++ + ++i); } tell the answer with correct reason .specially reason is important nt answer ans by turbo c is -39
What are the uses of a pointer?
can we declare a variable in different scopes with different data types? answer in detail