Skip to content

This repository contains all the C Language Practicals done by me for the College in B.Sc. 1st Semester.

Notifications You must be signed in to change notification settings

Kaustav-Purkayastha/C-Programming-1st-Sem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

💻 Programming Fundamentals using C

C-Programming-1st-Sem

🔥 Let's Connect! 👇




📜List of Practical Questions:

Q1)   Write a C program to print the sum and product of the digits of an integer number.


Q2)   Write a C program to print the reverse of an integer number.


Q3)   Write a C program to compute the sum of the first n terms of the series:

      S = 1 - 2 + 3 - 4 + 5 . . . n


Q4)   Write a C program to check whether a given string is palindrome or not.


Q5)   Write a C program to find whether a given number is prime or not. Use the same to generate the prime numbers less than 100.


Q6)   Write a C program to display Fibonacci Series:

  (i) Using Iteration

  (ii) Using Recursion


Q7)   Write a C program to calculate Factorial of a given number:

  (i) Using Iteration

  (ii) Using Recursion


Q8)   Write a C program to calculate GCD of two numbers:

  (i) Using Iteration

  (ii) Using Recursion


Q9)   Write a C program that swaps two numbers using pointers.


Q10)   Write a C program to perform the following operations on strings:

  (i) String concatenation

  (ii) Compare two strings

  (iii) Calculate the length of the strings


Q11)   Write a C program to create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file.





🤖Join Community!

- Stuck at any question?
- Confusions regarding any solution provided?
- Want to discuss something regarding above topics?
- Want to connect with other students?

  • join JOIN HERE !!

      discord



🔁Connect With Me!



Give this Repository a STAR⭐

(If you find this repository helpful)
Thank You!!💝

About

This repository contains all the C Language Practicals done by me for the College in B.Sc. 1st Semester.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages