⟩ What are the scope of static variables?
The scope of a static variable is local to the block in which the variable is defined. However, the value of the static variable persists between two function calls.
The scope of a static variable is local to the block in which the variable is defined. However, the value of the static variable persists between two function calls.
Explain what is the purpose of "extern" keyword in a function declaration?
Can you please compare array with pointer?
What is the difference between exit() and _exit() function?
What are the advantages of using macro in C Language?
What is the C Language function prototype?
Do you know the difference between malloc() and calloc() function?
Can you combine the following two statements into one? char *p; p = (char*) malloc(100); A. char p = *malloc(100); B. char *p = (char) malloc(100); C. char *p = (char*)malloc(100); D. char *p = (char *)(malloc*)(100);
In which header file is the NULL macro defined? A. stdio.h B. stddef.h C. stdio.h and stddef.h D. math.h
What is (void*)0? A. Representation of NULL pointer B. Representation of void pointer C. Error D. None of above
The operator used to get value at address stored in a pointer variable is A. * B. & C. && D. ||