Skip to content
Tuesday, June 9, 2026
Latest:
  • Computer Networks 2024 – BSc Computer Science Part 3
  • Design And Analysis Of Algorithm 2024 – BSc Computer Science Part 3
  • Introduction To Database Management System 2024 – BSc CS Part 3
  • Introduction To Computer Graphics 2024 – BSc Computer Science Part 3
  • UNIX And Shell Programming 2023 – BSc Computer Science Part 3
EASTER SCIENCE

  • News
    • General
    • Technology
    • Gadgets
  • Videos
    • YouTube Videos
    • TOP VIDEOS
  • Exam Papers
    • MCA
    • B.Sc. CS
      • First Year
      • Second Year
      • Third Year
  • Contact Us
  • Ask a Question
  • Questions & Answers
C languageProgramming

35-Write a C program to use function

September 14, 2018 Lokesh Kumar 818 Views 0 Comments Programs

Program: 35

Write a C program to display whether number is prime or not (while-loop).

Output:

I am in main
I am in India
I am in Uttar Pradesh
I am in Bijnor

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Print (Opens in new window) Print
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Pinterest (Opens in new window) Pinterest

Like this:

Like Loading…
  • 34-Write a C program to show the functionality of goto function
  • 36-Write a C program to calculate sum of two number using another function.

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

You May Also Like

28-Write a C program to calculate the sum of 1 to 100 numbers.

September 14, 2018 Lokesh Kumar 0
Write a function that receives marks received by a student in 3 subjects and returns the average and percentage of these marks. Call this function from main() and print the results in main().

Q7 Write a function that receives marks received by a student in 3 subjects and returns the average and percentage of these marks. Call this function from main() and print the results in main().

August 30, 2020 Lokesh Kumar 0
Any year is entered through the keyboard. Write a function to determine whether the year is a leap year or not

Q4 Any year is entered through the keyboard. Write a function to determine whether the year is a leap year or not.

August 7, 2020 Lokesh Kumar 0

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.







Subscribe our Newsletter

Enter your email address to receive notifications of new posts by email.

Join 2,867 other subscribers




About Us

EASTERSCIENCE
"EASTER SCIENCE" was founded in 2017.
CEO & Founder
Mr. LOKESH KUMAR
We are providing you best and latest tech & gadgets news. Our main motive is to provide a way to every person for sharing their products and services's information with us and we will share it globally.

Subscribe Us

Useful Links

  • Home
  • Contact Us
  • About Us
  • FAQ
  • Terms and Conditions
Copyright © 2026 EASTER SCIENCE. All rights reserved.
%d