C Programming
C Programming
net
Set No. 1
D
L
1. Write a C program that converts and prints a user supplied measurement in inches
into foot(12 inches),yard(36 inches),centimetre(2.54/inch) and meter(39.37 inches).
[15]
R
O
W
U
[8+7]
3. (a) Write a program to count number of words, lines and characters in a text
(b) Write C program to find out the length of given string without using string
function.
[8+7]
T
N
[15]
[8+7]
[7+8]
1 of 1
www.jntuworld.com || www.jwjobs.net
Set No. 2
D
L
R
O
[8+7]
2. What are bitwise shifting operators? Explain about bitwise shifting operators with
suitable programming example.
[15]
W
U
T
N
[8+7]
[15]
1 of 1
www.jntuworld.com || www.jwjobs.net
[7+8]
Set No. 3
D
L
R
O
2. (a) What are selection statements? What is the necessity of selection statements?
Justify your answer.
(b) Write a C program to find whether the seller has earned profit or loss. Selling
price and Cost price is read through keyboard.
[7+8]
W
U
3. (a) )Write C program compare two string for equality without strcmp( ) function?
(b) Write C program the given string is palindrome or not?
T
N
[8+7]
4. How multidimensional array is passed to function, how are the formal argument
declaration written? Compare with one dimensional array.
[15]
[7+8]
[15]
8. Explain the operation of random access file, mention its advantage and disadvantage
with example.
[15]
?????
1 of 1
www.jntuworld.com || www.jwjobs.net
Set No. 4
D
L
R
O
[15]
2. Differentiate the conditional operator with if else statement. Explain with appropriate examples
[15]
3. (a) Explain the various formats of for loop?
W
U
[8+7]
4. How multidimensional array is passed to function, how are the formal argument
declaration written? Compare with one dimensional array.
[15]
T
N
[7+8]
7. What are the different ways to copy the elements of one structure into another
structure. Explain with an example
[15]
8. Describe types of files with an example.
?????
1 of 1
www.jntuworld.com || www.jwjobs.net
[15]