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 |
Write a program to add a given duration with time(24hrs format)
Write a program to generate random numbers in c?
What functions are used for dynamic memory allocation in c language?
What are the 3 types of structures?
program to print upper & lower triangle of a matrix
What is 1f in c?
Why c is a procedural language?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
if we take a number as a char then can we manipulate(add, subtract) on this number
in b=6.6/a+(2*a+(3*c)/a*d)/(2/n); which operation will be performed first a) 6.6/a b) 2*a c) 3*c d) 2/n