If the static variable is declared as global,
will it be same as extern?
Answer / venkat
static :if i declare the static varible as global that
variable i can acces only with in the file (i.e i can't
access that variable from other file )
extern :if the varible i declared as extern than that extern
variable i can acces from other file also
Is This Answer Correct ? | 29 Yes | 4 No |
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is %s and %d in c?
What is Generic pointer? What is the purpose of Generic pointer? Where it is used?
difference between c and c++?
What is the difference between char array and char pointer?
Write a program that his output * *** *****
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
How to write a C program to determine the smallest among three nos using conditional operator?
How can you increase the size of a dynamically allocated array?
What is an auto variable in c?
Is there sort function in c?