Answer: C ontinue Statement : The continue statement skips some statements inside the loop. The continue statement is used with decision making statement such as if...else.
Answer: Pointer variables declaration: Pointer variables are used to store the address of the variable. And a pointer variable can store only the address of the variable which has the same data-type as the pointer variable.
Answer: Pointer: A pointeris a derived data type in C. It is built from one of the fundamental data type available in C. pointers contain memory address as their value.
Answer: The main is an example of user-defined function. Printf and scanf belong to the category of library functions. We have also used other library functions such as sqrt, cos, strcat, etc. The main distinction between these two categories is that library functions are not required to be written by us whereas a user-defined function has to be developed by the user at the time of writing a program.
Answer: Both the arrays and structures are classified as structured data types as they provide a mechanism that enable us to access and manipulate data in a relatively easy manner. But they differ in a number of ways .
Ans wer : The process in which a function in turn calls itself is called recursion. And the function is called recursive function. When a called function in turn calls another function again and again the process of this calling is called recursion.
Answer: Different type of string handling function: Function Name Description strcat() Concatenates two strings. strcmp() Compares two strings. strcpy() Copies a string from source to destination. strlen() Returns the length of a srting. strlwr() Return upper case letter to lower case. strupr() Return lower case letter to upper case. Strrev() Reverse of a string. Strcat() function: The strcat() function joins two strings together.
Answer: Array: An Array is a collection of the homogeneous (same type) elements stored under unique name. The elements are stored in the contiguous memory locations. The values in an array is called as ‘elements of an array’. These elements are accessed by numbers called as ‘subscripts or index numbers’. Arrays may be of any variable type. Array is also called as ‘subscripted variable’.
Answer: A "null statement" is a statement containing only a semicolon; it can appear wherever a statement is expected. Nothing happens when a null statement is executed. The correct way to code a null statement is:
Answer: A looping process is the process which cheek sum condition steps by step. A looping process in general would include the following steps_ i. Setting and initialization of a condition variable. ii. Execution of the statements of the loop. iii. Test for a specified value of the condition variable for execution of the loop. iv. Increasing or updating the condition variable.
Answer: C permits different forms of main statement. The following forms are allowed: (i) main() (ii) main(void) (iii) int main() (iv) void main() (v) void main(void) (vi) int main(void)
Answer: #define : A #define instruction defines value to a symbolic constant for use in the program. #define statement is a prepocessor compiler directive which define a symbolic constant.
Answer: Variable: A variable is a data name that may be used to store a data value; unlike constants they can change their value during program execution a variable may take different values at different times during execution.