All questions
- Evaluate ∫∫(x2 - y2)xdx dy over the area in the first quadrant bounded by the circle x2 + y2 =a2. Answer: dfraca⁵15 The region is the quarter circle x²+y²≤ a², x≥0, y≥0. Change to polar coordinates: x = rcosθ, y = rsinθ, dx dy = r dr dθ,... 1
- What is preprocessor? Answer: the preprocessor is a program that processes the C source code before it is compiled. It carries out the lines beginning with #, cal... 1
- Whether Structured programming helps in reducing errors? Yes and it is easier to understand and user friendly 2
- What is use of typedef? typedef is a reserved keyword in the programming languages C and C++. It is used to create an additional name (alias) for another data type,... 1
- What is structure? A structure is a key word that create user defined data type in C 2
- What is pointer? The Pointer in C, is a variable that stores address of another variable. 2
- What do you mean by call by reference? The call by reference method of passing arguments to a function copies the address of an argument into the formal parameter. Inside the func... 1
- What do you mean by call by value? The call by value method of passing arguments to a function copies the actual value of an argument into the formal parameter of the function... 1
- What is recursive function? a recursive function can be defined as a routine that calls itself directly or indirectly 1
- 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