What is modular programming?
It is a programming technique that cut the program function into small modules.Each module has one function that have all codes and variables needed to execute them.
Using modular programming we can easily found out the bugs from very large program.Object-oriented programming languages, such as Smalltalk and HyperTalk,incorporate modular programming principles. Reply
When does the compiler not implicitly generate the address of the first element of an array?
When array name appears in an expression such as:
1.array as an operand of the sizeof operator.
2.array as an operand of & operator.
3.array as a string literal initializer for a character array.
Then the compiler not implicitly generate the address of the first element of an array.Reply
What are the characteristics of arrays in C?
some main characteristics of arrays are given below:
1.all entry in array should have same data type.
2.tables can store values of difference datatypes.Reply
What are advantages and disadvantages of external storage class?
Some main advantages and disadvantages of external storage class are given below:
1.In Persistent storage of a variable retains the updated value.
2.The value is globally available.
1. Even we does not need the variable the storage for an external variable exists.
2.Side effect may be produce unexpected output.
3.We can not modify the program easily.
Diffenentiate between an internal static and external static variable?
Some main difference between internal static and external static are given below:
We declare the internal static variable inside a block with static storage class. External static variable is declared outside all the blocks in a file.
In internal static variable has persistent storage,no linkage and block scope, where as in external static variable has permanent storage,internal linkage and file scope.Reply
What is auto variables?
by default variables are auto.as we know that variable changes its character according to the strage class .
What are the advantages of auto variables?
Some main advantages of auto variables are given below:
1.we can use the same auto variable name in different blocks.
2.No side effect by changing the values in the blocks.
3.It used memory economically.
4.Because of local scope auto variables have inherent protection.
what are storage variable ?
A storage class changes the behavior of a variable. It use to controls the lifetime, scope and linkage.
There are five types of storage classes :
What is Storage class ?
There are four type of storage class in C:
Which expression always return true?and Which always return false?
Expression are given below;
if (a=0) always return false.
if (a=1) always return true.