What is the difference between static and global variables?
Answer / kush joshi
static variable only can access within a function where
these declared, but the global variables access any where in
the program.
| Is This Answer Correct ? | 4 Yes | 1 No |
if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE
What is the use of typedef in structure in c?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }
Explain about C function prototype?
What are the scope of static variables?
How does free() know explain how much memory to release?
Explain what is the difference between far and near ?
What is the difference between struct and union in C?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
Do you know the difference between malloc() and calloc() function?