Skip to content
Scholar soul

Scholar soul

Be A Scholar

  • C Programming Tutorial
  • Programming
  • Intellectual property rights
  • Privacy Policy
  • Disclaimer
  • Contribute

Programming

c program to find simple interest

November 28, 2020November 28, 2020 by ScholarSoul

How to calculate simple interest? Simple interest can be calculated using the formula: Simple Interest SI=(p*t*r)/100. Here p is the principal amount. For this amount we are calculating the interest. t is the timeperiod and r is the interest rate. Take input of p,t and r then multiply them and after that divide them by … Read more

Categories Programming Tags Programming

Transpose of a matrix in c

November 15, 2020November 15, 2020 by ScholarSoul

Transpose of a matrix in c programming is the way to obtain a new matrix by transposing it with the help of c programming language. What is transpose of a matrix? Transpose of a matrix can be done by creating a new matrix by exchanging the rows and columns. If we want to obtain transpose … Read more

Categories Programming Tags Programming

Matrix addition in c

November 15, 2020November 15, 2020 by ScholarSoul

What is Matrix addition in c? Matrix addition in c can be done using two nested for-loops iterating through each elements in both matrix. See below program and explanation. Program for addition of matrix in c Explanation First we take both matrices as two-dimensional array. Then we use nested for loop to iterate through each … Read more

Categories Programming Tags Programming

Printf in c

November 7, 2020August 24, 2020 by SuperUser

What is printf in c programming? Printf is a function to print formatted or unformatted data to stdout. Printf is found in stdio header file. It returns number of character written on to console. You can simply put printf in if statements. Prototype Parameters Look at the function parameters the formatted_string is to specify the … Read more

Categories C Programming Tutorial Tags c, c programming tutorial, Programming

Scanf in c

November 7, 2020August 24, 2020 by SuperUser

What is scanf in c programming? Scanf is a function to read formatted data from stdin. That is the data is read from the keyboard. The scanf function is used to enter data in C language True/False? Answer for this question is true. scanf is found in stdio header file. Look at the prototype below: … Read more

Categories C Programming Tutorial Tags c, c programming tutorial, Programming, scanf

Input output in c

November 2, 2020August 24, 2020 by SuperUser

This post explains you about Input output in c programming language. Note: In this article we are not discussing anything about file io and its functions. Input output in c Input refers to inputting data to the computer. It can be achieved through various input devices. For a typical c program we can input through … Read more

Categories C Programming Tutorial Tags c, input and output, Programming, puts, scanf

Loops in c

September 28, 2020July 25, 2020 by SuperUser

If you are searching for loops in c then you are at the right blog post. Programming languages provide control structure which makes the programmer to run a block of code for n number of times are until a specific condition is met. Consider example if you want to sum numbers up to 100 then … Read more

Categories C Programming Tutorial Tags c, c programming tutorial, Programming

Pointers in C

November 5, 2020July 23, 2020 by SuperUser

Introduction to pointer in c A pointers in c is a variable which holds the address of another variable. The variable can be of any data type. The pointer in 64 bit architecture will have 8 bytes of memory and in 32 bit architecture it is 4 bytes. Simple pointer variable can be created by … Read more

Categories C Programming Tutorial Tags c, c programming tutorial, Programming

c structures

March 3, 2021July 20, 2020 by SuperUser

What is structure in c programming? C structures are a derived data type. structure in C allows to pack up more than one type of data in a single variable. structure can be defined keyword struct. dot (.) operator is used to access the structure member and arrow (->)operator is used to access the structure … Read more

Categories C Programming Tutorial Tags c, c programming tutorial, Programming

Arrays in c

December 7, 2020July 20, 2020 by SuperUser

What is an array ? Arrays in c programming language is set of elements of same data type. Array is stored in continuous storage space. If you dont know about arrays then check out datatypes in c article to know basics of an array. C Arrays starts with index 0. Arrays provide random access to … Read more

Categories C Programming Tutorial Tags c, c programming tutorial, Programming
Post navigation
Older posts
1 2 Next →

Recent Posts

  • strtod() function in c
  • strtol() function in c
  • strchr in c
  • Difference between structure and union in c programming language
  • strncpy in c

Scholarsoul

  • Contact us
  • Contribute
  • Disclaimer
  • Privacy Policy
  • Report errors

Recent posts

  • strtod() function in c
  • strtol() function in c
  • strchr in c
  • Difference between structure and union in c programming language
  • strncpy in c

Categories

© Scholar Soul 2021