We can use the keyword typedef to define a structure as follows: typedef struct { char name[20];...
Category - C
Write a program to find grade of a student given his marks using switch in C
Given below is a c program to check student result using if else condition. Condition for declaring...
Why do we need Synchronization in real life Applications
When two or more threads are accessing the same resource like a variable or a data structure, it...
How expression evaluation is done in C-programming
An expression is a sequence of operands and operators that reduces to a single value. For example...
How to find factorial of large numbers using java and c++
In this article I am going to show you to represent factorial of large number in java and c++. It...
How to avoid errors in your C and C++ Code
Today we are going to go through effective techniques to avoid errors in your C and C++ programming...
How the pointer-array helps the faster access of the data in the array
In this article we are going to learn of about the pointer-array concept in c programming. There...
How to use the union keyword in C programming
In computer science, a union is a value that may have any of several representations or...
How to create a sub structure in C Programming
In C, structures can be nested. A structure can be defined within in another structure. The members...
C Program to Check Student is Pass or Fail
Given below is a c program to check student result using if else condition. Condition for declaring...
C program to calculate grades of n students from 3 tests using arrays
In this tutorial of C programs, our task is to write a c program that checks if student result as...
C and C++ Compared, Know The Differences
When we talk about programming languages, C and C++ appear in the list as early programming...
How To write a C Program without the main Function
Here we have a c program which looks like it has no main function. Can we write a C Program without...