WWW - Manaresults.Co - In: I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018 C Programming
WWW - Manaresults.Co - In: I B. Tech I Semester Supplementary Examinations, Oct/Nov - 2018 C Programming
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)
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)
b) Write a C program using pointers to read in an array of integers and print its (8M)
elements in reverse order.
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
|''|'''||''||'''||||