geeksforgeeks
  • Courses
  • Tutorials
  • Interview Prep
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
Similar Topics
Web Technologies32.1K+ articles
DSA20.4K+ articles
Python19.6K+ articles
Experiences15.8K+ articles
Interview Experiences14.5K+ articles
School Learning11.1K+ articles
Misc7.7K+ articles
C Language1.3K+ articles
C-Library133+ articles
date-time-program62+ articles

C Library Functions

4 posts
strchr in C
Last Updated: 23 July 2025
Thestrchr()function in C is a predefined function in thestring.hlibrary.It is used to find the first occurrence of a character in a string. It checks whether the given cha...read more
C Language
Picked
C-String
C Library Functions
C Examples
bsearch() Function in C
Last Updated: 15 April 2024
In C programming language, bsearch()function is used to perform a binary search on a sorted array to search for an element. The namebsearchstands for “binary search” which...read more
C Language
Picked
Binary Search
C Library Functions
CPP Examples
qsort() Function in C
Last Updated: 23 July 2025
Theqsort()in C is alibrary function used to sort an array of items in ascending order or descending order. It stands for "quick sort," as it implements the quicksort algor...read more
C Language
Picked
Quick Sort
C-Functions
C Library Functions
CPP Examples
C Library Function - difftime()
Last Updated: 06 May 2023
The difftime() is a C Library function that returns the difference in time, in seconds(i.e. ending time - starting time). It takes two parameters of type time_t and comput...read more
Misc
C Language
date-time-program
C-Library
C Library Functions
GeeksforGeeks
location
Corporate & Communications Address:
A-143, 6th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
location
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play StoreGFG App on App Store
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Campus Training Program
  • Explore
  • POTD
  • Job-A-Thon
  • Blogs
  • Nation Skill Up
  • Tutorials
  • Programming Languages
  • DSA
  • Web Technology
  • AI, ML & Data Science
  • DevOps
  • CS Core Subjects
  • Interview Preparation
  • Software and Tools
  • Courses
  • ML and Data Science
  • DSA and Placements
  • Web Development
  • Programming Languages
  • DevOps & Cloud
  • GATE
  • Trending Technologies
  • Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
  • Preparation Corner
  • Interview Corner
  • Aptitude
  • Puzzles
  • GfG 160
  • System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved