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 |
#include<std.h> int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?
#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }
how many times of error occur in C
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
What is clrscr in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Why is c called c?
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d
Which is the best website to learn c programming?
print a "hello" word without using printf n puts in c language
what is a far pointer
12 Answers ABB, DRDO, ITI, Maruti Suzuki, Steel Plant, TCS, Toyota, Vivo Mobiles,
Define function pointers?