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 |
What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
What does void main () mean?
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
What is const and volatile in c?
write a 'c' program to sum the number of integer values
Why is c known as a mother language?
find the minimum of three values inputted by the user
When can you use a pointer with a function?
int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }
What is the difference between array_name and &array_name?
do you think its fraud or original company?