|
Define
recursion in C
A programming technique in which a function may call itself.
Recursive programming is especially well-suited to parsing nested markup
structures.............
Read answer
What
does static variable mean in C?
static is an access qualifier that limits the scope but
causes the variable to exist for the lifetime of the
program....................
Read answer
The following are the differences between structures and
arrays: - Array elements are homogeneous. Structure elements are of different
data type.............
Read answer
A macro is a name given to a block of C statements as a
pre-processor directive. Being a pre-processor, the block of code is
communicated to the compiler before entering............
Read answer
Pass by value always invokes / calls the function or returns
a value that is based on the value. This value is passed as a constant or a
variable with value.............
Read answer
The static identifier is used for initializing only once, and
the value retains during the life time of the program / application. A separate
memory is allocated for ‘static’ variables............
Read answer
The auto variables are stored in the memory of the system.
The keyword ‘auto’ is optional. Many of the variables used by the
program.............
Read answer
The difference between arrays and linked lists are: - Arrays
are linear data structures. Linked lists are linear and non-linear data
structures............
Read answer
A set of named integer constants is known as an enumeration.
The enumeration type declaration includes the name of the enumeration tag and
the definition of a set of named integers............
Read answer
The storage allocation / class determine the memory part
where the storage space is allocated for variables, functions and how long the
allocation of storage continues to exist............
Read answer
The variables of ‘register’ type modifier will inform the
compiler for storing the variables in a register of CPU.............
Read answer
The keyword typedef is used for defining user defined data
types. A new definition of existing data types is created by using
typedef...............
Read answer
It is possible to specify variable field width in a scanf()
format string. By using %s control string...........
Read answer
The function fgets() function is safer to use. It checks the
bounds.........
Read answer
The function strcpy() will not allocate the memory space to
copy..............
Read answer
For char[] array, such size is not accepted by the compiler.
If the size is specified, the following are the differences between char *a and
char a[]...........
Read answer
A void pointer is pointer which has no specified data type.
The keyword ‘void’ is preceded the pointer variable.............
Read answer
A const pointer is not the pointer to constant, it is the
constant. For example, int* const ptr; indicates that ptr is a
pointer..............
Read answer
An unwanted increase in programs is referred as a memory leak
is C language. The intake of program increases...............
Read answer
Static Memory Allocation: Memory is allocated for the
declared variable by the compiler............
Read answer
The function main() calls / invokes other functions within
it. The execution of the program always starts with main() function...........
Read answer
A #define is used as immediate constant or as a macro. Where
as the constant is a variable whose value can not change.............
Read answer
The scope and lifetime of a variable or / and function within
a C program is defined by storage class. There are four storage classes in
C............
Read answer
A function to pointer is one which returns a
pointer.............
Read answer
The following are the differences: - String can hold only
char data. Where as an array can hold any data type.............
Read answer
Next>>
|