C Array Solved Programs
C programming Tutorials

Top 3 C Array Solved Programs

C Array Solved Programs C Array Solved Programs are discussed and explained in this tutorial. These programs are generally asked in technical interview and in university exam of C Programming. These Programs are based on One Dimensional Array in C. I hope that These c array solved programs will be beneficial for the students. Program […]

expression evaluation in c
c programming notes for gate C programming Tutorials

Expression Evaluation in C

Expression Evaluation in C Programming In this C Programming Tutorial we will discuss about Operators, operands, operator precedence and associativity, Expression and expression evaluation in c programming examples. Generally expression solving questions are asked in GATE exam. Let’s start with operator introduction. What is an Operator ? Operator is a symbol or token in C […]

conditional statements in C Programming
c programming notes for gate C programming Tutorials gate study material for cse

Conditional Statements in C Programming

Conditional Statements in C Programming Condition statements in C are used almost in every program written in the C programming language. This is a very important concept and a useful building block of programming construct. Every student should know how to use conditional statements in a C program ? The objective of this tutorial is to […]

loop in c programming
C Programming c programming notes for gate C programming Tutorials gate study material for cse

Looping Statements in C Programming

Looping Statements in C Programming Looping statements in C are used to repeat a block of code or statements until a condition is satisfied. In C Programming there are three types of Loops For Loop While Loop Do-while Loop This tutorial covers the concepts of looping statements in c with example. Advantages of using loops have […]

c tutorial
C Programming C programming Tutorials

C Tutorial to Learn C Programming Language

C Tutorial to Learn C Programming Language C Tutorial to learn C Programming Language is discussed in this post. C Programming Language is one of the most powerful languages to develop system software like operating systems, compilers, etc. Application software can also be developed in C Programming language. Students from every branch of engineering learn c […]

C Programming c programming notes for gate C programming Tutorials gate study material for cse

Program in C to Implement Lagrange’s Interpolation Formula

  ‘C’ program to implement  Lagrange’s Interpolation formula.   Theory and Concept – Interpolation formulae for equally Spaced Argument is important but as is well known they possess the disadvantage of requiring the values of the independent variable to be equally spaced. It is therefore desirable to have interpolation formulae with unequally space values of […]

C Programming c programming notes for gate C programming Tutorials gate study material for cse

Program to copy the contents of one string to another string using a pointer

A C program to copy the contents of one string to another using a pointer method is:     #include #include #include #define length 50   void main() { char *s1,*s2,c; int i=0; clrscr(); s1=(char*)malloc(length*sizeof(char)); s2=(char*)malloc(length*sizeof(char)); printf(“enter stringn”); gets(s1); while((c=*(s1+i))!=”) { s2[i]=c; i++; } s2[i]=”; printf(“Copied string isn”); printf(“%s”,s2); getch(); }    

C Programming c programming notes for gate C programming Tutorials gate study material for cse

How to display the value of an integer variable through pointer ?

Accessing the value of an integer through pointer. A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the “address of a variable”. The indirection or dereference operator * gives the “contents of an object pointed to by […]

C Programming c programming notes for gate C programming Tutorials gate study material for cse

Pointer to structure in C

How to use a pointer to structure in C Programming? When pointer to structure is incremented then the pointer points to the next block of memory. As for example struct rec { int a; char b[10], *c; }; main() { struct rec *obj; obj=(struct rec *)malloc(sizeof(struct rec)); obj->a=10; strcpy(obj->b, “XYZ”); strcpy(obj->c, “ABC”); printf (“n%dt%st%s”,obj->a, obj->b, […]

pointer in c hackerrank solution
C Programming c programming notes for gate C programming Tutorials gate study material for cse

Pointer in C Hackerrank Solution

Pointer in C Hancerrank Solution In this Pointer in C Programming Tutorial at first we will learn about basic concepts of pointer after that we will see some pointer in c hackerrank solution for the practice of computer science students. Frequently asked Questions Some frequently asked questions from pointer in c programming are given below […]