×
Home Discussions Write at Opengenus IQ
×
  • Join our Internship 🎓
  • #7daysOfCode
  • C Interview questions
  • Linux 💽
  • 🔊 Data Structures
  • Graph Algorithms
  • Dynamic Programming 💑
  • Greedy Algo 📔
  • Algo Book 🧠
  • String Algo 🧬
  • Home

C

C is a powerful and early programming language which is a former version of C++. It is a procedural language and is used in educational institutions widely.

Software Engineering

Static Variables in C

We have covered static variables in C and discussed Introduction to static variables, Difference between static and automatic variables and Important points related to static variables.

Nandita Tomar Nandita Tomar
Software Engineering

Implementing rmdir using C/ C++

We have developed the rmdir command of UNIX systems in C and C++ by using the remove and nftw system functions to delete a directory.

Sahil Silare Sahil Silare
Software Engineering

Implementing mkdir in C/ C++

We have developed the mkdir command of UNIX systems in C and C++ by using the mkdir function to create a directory.

Sahil Silare Sahil Silare
Software Engineering

Implementing cd command in C/ C++

We have developed the cd command of UNIX systems in C and C++ by using the chdir function.

Sahil Silare Sahil Silare
Software Engineering

Implementing pwd command in C/C++

We will use the header file dirent.h for directory structures and objects and implement our pwd command in C/C++. This will involve the getcwd() function call.

Sahil Silare Sahil Silare
Software Engineering

Different ways to print in C

Different ways to print in C are Formatted and Unformatted Output Functions, Printing using Formatted Function - printf(), putchar() and puts(). We have covered it with C code examples.

Devika Nair
Software Engineering

Implementation of ls command in C

In this article, we have implemented the ls command in C using dirent header library. ls command is used to list the files and directories in a given location.

Sahil Silare Sahil Silare
Algorithms

C program to check whether brackets are Balanced in an Equation

We have developed a C program to check whether brackets are Balanced in an Equation using the Stack data structure and solving it in O(N) time.

Abhiram Reddy Duggempudi Abhiram Reddy Duggempudi
Software Engineering

Reverse a String (word by word) in C

In this problem, we have reversed a string or text word by word in C. The strategy to do this is important and tests C implementation skill.

Abhiram Reddy Duggempudi Abhiram Reddy Duggempudi
Software Engineering

Typecasting in C

We have explored Typecasting in the C language. The definition, categories of Typecasting, Why it is used and How, along with many examples so that it will be easy to understand.

Amruta U. Koshe Amruta U. Koshe
Software Engineering

Tough Interview questions on C Programming

These are some of the most tough Interview questions on C Programming which tests your knowledge on how well you know the language. Even if you are not a master of C, you must try it once.

Aditya Chatterjee Aditya Chatterjee
Software Engineering

Basics of "stdio.h" in C

We have explored the standard header library stdio.h in C and specific attributes of Header file like Built in functions, Library Variables and Macro.

Shiva Basava P Shiva Basava P
Software Engineering

Struct pointer in C

In this article, we will learn about the structure pointers , in C/C++ we have a feature to use pointers with Structure. Like pointers to other data types we can use pointer to structure.

Khitish Panigrahi Khitish Panigrahi
Software Engineering

Typedef function pointer in C

The keyword typedef is used to define new data type names in C/C++. Here we should not not mistaken that we are creating any new data type, we should carefully note that we are just giving new names to the data types already available to us by C.

Khitish Panigrahi Khitish Panigrahi
Software Engineering

Header file math.h in C language

math.h header file is a widely used C utility that we can use in C language to perform various mathematical operations like square root, trigonometric functions and a lot more. We have explored this in depth.

Piyush Khurana
Software Engineering

Trigonometric Functions using <math.h> in C

math.h header defines various mathematical functions including trigonometric and hyperbolic functions. All the these predefined trigonometric functions use radians as argument. We have explored all Trigonometric Functions using in C.

Shivangi Sharma
Software Engineering

Linear Search in C Programming Language

We have explored Linear Search algorithm and implemented variants of Linear Search in C Programming Language. The variants we have explored are Linear Search in array in C, Linear Search in Linked List in C, Linear Search in array with duplicates and Linear Search in Linked List with duplicates.

Harini Jeyaraman Harini Jeyaraman
Software Engineering

Complete guide on stdlib.h in C

is the header for the General Purpose Standard Library of C programming language which declares a variety of utility functions for type conversions, memory allocation, process control and other similar tasks.

Vishnu S Reddy Vishnu S Reddy
Software Engineering

Reverse a large file using IO Syscalls (using chunks)

In this article, we have used different system calls (syscalls) in order to reverse a large file (>1GB) using a chunk size rather than character by character. We have demonstrated this with a C code.

Arathy Rose Tony
Software Engineering

Introduction to I/O System call, file descriptor and modes in C

In this article, we shall learn the basics of I/O syscalls, file descriptors and modes in C. System calls include open. close. creat and more.

Arathy Rose Tony
Software Engineering

Complex number in C Programming language

In this article, we will explore how to use complex numbers in C. There are two approaches: one is to implement it using struct in C and the other solution is to use complex.h library.

Subhash Bhandari
Software Engineering

Delete an array in C

In this article, we have explored how to delete or deallocate an array in C. By deleting an array, we mean to deallocate the memory that was assigned to the array so that it can be reused.

Rasika Kedia
Software Engineering

Traversing folders in C recursively

In this article, we have explored how to traverse folders in C recursively. We have used the dirent.h library to achieve this along with basic methods like readdir, opendir and closedir.

Khitish Panigrahi Khitish Panigrahi
Software Engineering

Different ways to terminate a program in C

In this article, we are going to learn about various methods by which we can terminate a C program which is currently in execution. Starting with the most widely used and most obvious function that is by using the exit() function.

Khitish Panigrahi Khitish Panigrahi
Software Engineering

Using complex.h header file in C

In this article, we have explored the complex.h header file in C. The header file complex.h defines macros and functions to carry out operations on complex numbers in C.

Arpitha Malavalli
×

Visit our discussion forum to ask any question and join our community

View Forum
OpenGenus IQ © 2021 All rights reserved â„¢ [email: team@opengenus.org]
Top Posts LinkedIn Twitter