What are Storage Classes in C ?

Answer Posted / nagalakshmanarao

storage classes in c defines the scope and lifetime of variables.the storage classes are important only in multifunction and multiple file programms.
storage classes are 4 types:they are 1:auto
2:static
3:extern
4:register

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you execute a c program in unix.

636


Explain zero based addressing.

604


What is a stream?

642


What are actual arguments?

641


What are the 5 organizational structures?

567






In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1954


List some applications of c programming language?

549


What are the types of assignment statements?

627


List the variables are used for writing doubly linked list program.

1617


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

656


How can I discover how many arguments a function was actually called with?

628


Do you know what are the properties of union in c?

579


What is structure of c program?

601


What is difference between static and global variable in c?

535


What is assignment operator?

620