C programming 2014

year 2014 Q.no 3 Write function that display the factorial of 7 only.

Q.no 4 Write program that takes string as input from the user, and then display the length.

Q.no 5 Write a program to display the following pattern. * # * # * ? ? * ? ? +

Group […]

Continue Reading

c programming 2015

Year 2015 Q.No. 2 Write function that takes list of integers of size 10 as parameter and display all the prime numbers of the list.

Q.no 3 Write a program that displays the line “Best of Luck” 5 times, using a function.

Q.No. 5 Write a program to read a line of text, […]

Continue Reading

C programming 2016

2016 2. Display the following pattern using loop. a. BBA b. BIM c. BIM d. BBA e. BBA f. BIM

3. Write a program to count white spaces in a given sentence.

4. Write a program to calculate the sum of the following numbers: -3, -4, 8, 9, 10, -17.

5. Write […]

Continue Reading

c programming 2017

Year 2017 2.Write a program to add four integer taken from user  

3. Explain dynamic memory allocation with example The concept of dynamic memory allocation in c language enables the C programmer to allocate memory at runtime. Dynamic memory allocation in c language is possible by 4 functions of stdlib.h header file. malloc():-allocates […]

Continue Reading

c programming 2018 Makeup

Year 2018 Makeup Write a program to print transpose of a given matrix.

Write a C program to read the file “hello.txt” and count the number of characters written in this file.

  Write a function to calculate the factorial value of the given number.

  Write a program to read n […]

Continue Reading

c programming 2018

Year 2018 Group B 2.Write a program to input two integer as arguments and display sum of those numbers //i am using arguments without return type

  write a program to write “hello world” to file hello.dat  

Write a program for nested structure

  Write a program to input on integer […]

Continue Reading

C Programming 2019 Makeup

Year 2019 Makeup Write a function that accepts two integers as arguments and returns average of even numbers between them.

Write a program to read a file named ‘some.txt’ which contains 20 words and display only ten words in the monitor.

Write a program to take 11 records of car (model, price, color, […]

Continue Reading