Answer Posted / udayakumar
local variables are the variables which are declared with in
a function and the scope of that variables are only within
that function.Global variables are the variables which are
declared globally.Since it is declared globally it can
accessible to all the functions inside the program...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What's the right way to use errno?
What is variable and explain rules to declare variable in c?
What is the difference between a string and an array?
What is the right type to use for boolean values in c? Is there a standard type?
What is indirection?
What does 3 mean in texting?
What is a void pointer? When is a void pointer used?
Explain pointer. What are function pointers in C?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is a example of a variable?
The difference between printf and fprintf is ?
How #define works?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Is Exception handling possible in c language?
Can you think of a logic behind the game minesweeper.