What are the different types of storage classes in C?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Auto: Default storage class for local variables.
Static: Retains variable value between function calls.
Extern: Refers to global variables used in other files.
Register: Suggests storing variables in the CPU register.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Auto: Default storage class for local variables.
Static: Retains variable value between function calls.
Extern: Refers to global variables used in other files.
Register: Suggests storing variables in the CPU register.
Is This Answer Correct ? | 0 Yes | 0 No |
Auto: Default storage class for local variables.
Static: Retains variable value between function calls.
Extern: Refers to global variables used in other files.
Register: Suggests storing variables in the CPU register
Is This Answer Correct ? | 0 Yes | 0 No |
What is the default value of local and global variables in c?
application attempts to perform an operation?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
what is difference between ANSI structure and C99 Structure?
What is struct node in c?
What are global variables and explain how do you declare them?
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort
for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What do you know about the use of bit field?
What is bubble sort in c?