what is the difference between auto and static keywords
Answer / dr. guruprasad
auto and static are both storage classes.
if a variable is declared as auto - then the life of it will be only till function block.
if static - then value persists between various function call. Life till program ends.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the difference between 123 and 0123 in c?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
If errno contains a nonzero number, is there an error?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
Is array a primitive data type in c?
What is the process to generate random numbers in c programming language?
code for find determinent of amatrix
How can I call a function, given its name as a string?
how to print a statement in c without use of console statement ,with the help of if statement it should print
#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 Answers CDAC, GATE, NDS, TCS,
c program for searching a student details among 10 student details
What is the exact difference between '\0' and ""