Discuss
- What is the use of strcpy() function? The strcpy() function copies string2, including the ending null character, to the location that is specified by string1. 1
- What is the use of strlen() function? The strlen() function determines the length of string excluding the ending null character. 1
- What is the use of strrev() function? This function is used for reversing a string. The reversed string is stored in the same string 1
- What is the use of strcmp() function? strcmp compares two character strings ( str1 and str2 ) using the standard EBCDIC collating sequence. 2
- What is the use of strcat() function? The strcat() function concatenates string2 to string1 and ends the resulting string with the null character. 1
- What is use of return statement? A return statement ends the execution of a function, and returns control to the calling function. 1
- What is built in function? Built-in(Library) Functions. The system provided these functions and stored them in the library. Therefore it is also called Library Functio... 1
- What is function? A function is a block of code which only runs when it is called. 2
- Give general Syntax to declare two dimensional array data_type array_name[rows][columns]; 2
- Give general Syntax to declare One dimensional array datatype array_name[size]; 2
- Define Array Array in C can be defined as a method of clubbing multiple entities of similar type into a larger group. 2
- What is Run Time Error? A runtime error occurs when a program is syntactically correct but contains an issue that is only detected during program execution 1
- What is Logical Error? On compilation and execution of a program, desired output is not obtained when certain input values are given. These types of errors which p... 1
- What is Syntax Error? Syntax errors are mistakes in the source code, such as spelling and punctuation errors, incorrect labels, and so on, which cause an error me... 1
- What is process loop? the first pass of the outer loop triggers the inner loop, which executes to completion. Then the second pass of the outer loop triggers the... 1
- What is nested loop? A nested loop is a loop within a loop, an inner loop within the body of an outer one. 2
- Define Program program is a set of instructions that a computer uses to perform a specific function 2
- Give syntax of simple nested if – else statement? if(condition) { //Nested if else inside the body of "if" if(condition2) { //Statements inside the body of nested "if" } else { //Statements... 1
- Give syntax of simple if – else statement if(condition) { // Statements inside body of if } else { //Statements inside body of else } 1
- Give syntax of simple if statement if (condition) instruction; 2
- What do you mean by console IO functions These functions allow us to receive input from the input devices like keyboard and provide output to the output devices like the Visual Disp... 1
- What is Disk IO Function? Disk I/O includes read or write or input/output operations (defined in KB/s) involving a physical disk 2
- What is the use of getch() function? getch() is a way to get a user inputted character. It can be used to hold program execution 1
- What is the use of getchar() function? getchar is a function in C programming language that reads a single character from the standard input stream stdin, regardless of what it is... 1