proc() {
static i=10;
printf("%d",i);
}
If this proc() is called second time, what is the output?
Answer Posted / krupakar
The answer is 10.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the size of enum in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
write an algorithm to display a square matrix.
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Are the outer parentheses in return statements really optional?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Explain what are multidimensional arrays?
Can we replace the struct function in tree syntax with a union?
Is struct oop?
What are the __date__ and __time__ preprocessor commands?
What are the main characteristics of c language describe the structure of ac program?
What is console in c language?
What are the modifiers available in c programming language?
What are static variables in c?
What is memory leak in c?