APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : S1 and S2

Year : 2018

Term : MARCH

Branch : BIOTECHNOLOGY

Scheme : 2015 Full Time

Course Code : CS 100

Page:24





PDF Text (Beta):

} return
0
)
Sample Input

Sample Output
1

12

123
123412
345

b)

A header file is a file with extension .h which contains C function declarations and macro definitions to be
shared between several source files. There are two types of header files: the files that the programmer
writes and the files that comes with your compiler.

Relational operators are used for comparison of two values. Let’s see them one by one:

e ‘==’ operator checks whether the two given operands are equal or not. If so, it returns true.
Otherwise it returns false. For example, 5==5 will return true.

e ‘l=’ operator checks whether the two given operands are equal or not. Ifnot, it returns true.

ட.

Otherwise it returns false. It is the exact boolean complement of the ‘==’ operator. For
example, 5!=5 will return false.

e ‘>’ operator checks whether the first operand is greater than the secondoperand. If so, it
returns true. Otherwise it returns false. For example, 6>5 will return true.

٠ <“ operator checks whether the first operand is lesser than the secondoperand. If so, it returns
true. Otherwise it returns false. For example, 6<5 will return false.

e ‘>=’ operator checks whether the first operand is greater than or equalto the second operand.
If so, it returns true. Otherwise it returns false. For example, 5>=5 will return true.

٠ ‘<=’ operator checks whether the first operand is lesser than or equal tothe second operand.
If so, it returns true. Otherwise it returns false. For example, 5<=5 will also return true.

21.

int m, ೧, ©, ५, c,d, ‏,کا‎ sum = 9

int first{10][10], second[10][10], multiply[10][10];
printf("Enter number of rows and columns of first matrix\n's)
scanf("%d%d", &m, &n);

printf("Enter elements of first matrix\n");

#include int

main()

Similar Question Papers