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

WWW - Manaresults.Co - In: I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018 C Programming

g

Uploaded by

kanurisubbarao
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
5 views1 page

WWW - Manaresults.Co - In: I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018 C Programming

g

Uploaded by

kanurisubbarao
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 1

Code No: R10105 R10 SET - 1

I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018


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

1. a) Write an algorithm and flowchart to find out whether a given number is prime (8M)
number or not.
b) Explain various levels of operator precedence and associativity in C language. (7M)

2. a) Compare switch statement with conditional operators. (8M)

b) Write a program that selects and prints the largest of the three numbers using nested (7M)
if.else statements.

3. a) Explain the use of goto, break and continue statements with suitable examples. (8M)

b) Write a program that reads a positive integer and print its binary equivalent. (7M)

4. a) Explain the declaration, initialization and accessing of a 2-D array with an example. (7M)

b) Write a C program for matrix multiplication covering all necessary conditions. (8M)

5. a) List and explain the various types of storage classes in C language along with their (8M)
scope ruler.

b) Write a C program using a function to check whether a given integer is even or odd. (7M)

6. a) Explain dynamic memory management functions in C language. (7M)

b) Write a C program using pointers to read in an array of integers and print its (8M)
elements in reverse order.

7. a) How to access a structure element in a program? (3M)


b) Compare structure with an Union. (4M)
c) Write a program to illustrate the comparison of structure variables. (8M)

8. a) Explain the syntax and usage of ftell, fseek and rewind functions in C language. (7M)

b) Write a C program to append the contents of one file to another file. (8M)

1 of 1

WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||

You might also like