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
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is console in c language?
What is indirection in c?
Explain what is the benefit of using const for declaring constants?
List the difference between a "copy constructor" and a "assignment operator"?
Where register variables are stored in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
a c code by using memory allocation for add ,multiply of sprase matrixes
What does void main return?
Why calloc is better than malloc?
How can I copy just a portion of a string?
What is difference between union and structure in c?
can any one provide me the notes of data structure for ignou cs-62 paper
What is action and transformation in spark?