answersLogoWhite

0

static storage class in C tells that:

The variable will have the default value as zero.

The variable scope will be the file in which it is defined.

RaVi

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How can you display Hindi word in output of java program?

Class hindi { public static void main() { char c; for(c=2309;c<2362;c++) { System.out.println(" "+c); } } }


How do you apply if in char type in c plus plus?

char x = "C"; if(char == 'C') { } else { }


Are the three declaration char a char a and char c same?

Yes.


How do you code a character literal?

char c = 'a'; 'a' is a literal character, which assigns the value 0x61 (ASCII code 97 decimal) to the char variable c. The following lines are therefore equivalent: char a = 0x61; char b = 97; char c = 'a';


What does a char store?

In JavaA char in Java is a 16-bit integer, which maps to a subset of Unicode.In C A char in C is an 8-bit integer, which maps to standard ASCII.Note that in both Java and in C you can use a char value like a normal integer type: char c = 48;


Can you provide an Example for creating an array statically in c plus plus?

// Create a bunch of static arrays char name[80]; char names[80][80]; int nums[5]; float useless[1][1][1][1][1];


What is palindrome in c?

char* = "racecar"


Why does ISO C forbid converting a string constant to 'char' in C?

ISO C forbids converting a string constant to 'char' in C because string constants are read-only and attempting to modify them through a 'char' pointer can lead to undefined behavior and potential program crashes.


How do you convert char to string?

Character.toString('c')


What is explicit typecasting in C plus plus programming?

int i = 42; char c = ( char ) i; // explicit cast double d = i; // implicit cast


How do you check address of char variable?

Use the address-of operator: char c=32; // space character std::cout<<&c<<std::endl;


What prototype for menu function takes no arguments but returns a char value?

char SomeFunction();This has nothing to do with menu functions. It is a straight C/C++ answer. Menu functions depend on the platform API, not on C/C++.