0% found this document useful (0 votes)
8 views1 page

WWW - Manaresults.co - In: I B. Tech I Semester Supplementary Examinations, May/June - 2019 C Programming

jntuk

Uploaded by

kanurisubbarao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

WWW - Manaresults.co - In: I B. Tech I Semester Supplementary Examinations, May/June - 2019 C Programming

jntuk

Uploaded by

kanurisubbarao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Code No: R10105 R10 SET - 1

I B. Tech I Semester Supplementary Examinations, May/June - 2019


C PROGRAMMING
(Com. to All Branches)
Time: 3 hours Max. Marks: 75
Answer any FIVE Questions
All Questions carry Equal Marks
~~~~~~~~~~~~~~~~~~~~~~~~~~

1. a) What are the main steps followed in the development of an algorithm? Write an algorithm (8M)
for sum of digits in a given number.
b) Explain in detail the prototype of ‘scanf’’ function in C including its argument list and return (7M)
type.

2. a) Write a C program to find the sum off squares of first N natural numbers. (8M)
b) Which statement is a multi way selection statement? Why? (7M)

3. a) Explain the use of 'break' statement. Write a program to check whether a number is prime or (8M)
not using break statement.
b) Write a C program to find the length of a string without using string handling function. (7M)

4. a) How is a 2-D matrix represented in memory? Write a program to add elements of a (3×3) (8M)
matrix row wise and generate a (3×1) matrix.
b) What is header file? Discuss its use in C programming. (7M)

5. a) What is the difference between call by value and call by reference? Explain with the help of (8M)
an example.
b) Give a recursive solution for towers of Hanoi Problem. (7M)

6. What are the various operations performed on Pointers? Explain with an example. (15M)

7. a) Write a program to calculate the grade of the student in a class of 60 students using (8M)
structures. Take appropriate elements in the Structure.
b) How memory is allocated to union? How they are declared and initialized? (7M)

8. What are different types of file operations in C language? Discuss with suitable examples. (15M)

1 of 1

|''|'''||''||'''|||| www.manaresults.co.in

You might also like