Home / MCQ Bank / Computer
Computer Storage Class Difficulty: Medium

What is the maximum scope of a variable with 'static' storage class?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C code? #include <stdio.h> int main() { int a = 10; if (a == a--) printf("TRUE 1\t"); a = 10; if (a == --a) printf("TRUE 2\t"); } In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element is? Of the following rules that are followed by an AA-tree, which of the following is incorrect? 1. Only right children can be red 2. Procedures are coded recursively 3. Instead of storing colors, the level of a node is stored 4. There should not be any left children void * malloc(size_t n) returns? What are the disadvantages if use return keyword to return error codes?