C Programming

cprogramming

C Program to Convert a length from kilometers to meters.

August 21, 2020

Write a program to convert a length from kilometers to meters. C Code #include <stdio.h> #include <conio.h> void main() { int km, m; clrscr(); printf(“Enter the Kilometer:”); scanf(“%d”,&km); m=km*1000; printf(“The length in meter=%d”,m); getch(); }

Read More
cprogramming

C program to read value and display surface area.

August 21, 2020

Define int and print the value of the surface area in C programming. If a cube has its side and its volume and surface area given by the formulae v = a3 and s=6a2. Write a program to read “a” and print the volume and surface area. #include <stdio.h>#include <conio.h>void main(){ int a,v,s; clrscr(); printf(“Enter […]

Read More
cprogramming

C Program to divide the number and find quotient and remainder.

August 21, 2020

Write a C program to divide an integer by another integer and find quotient and remainder. #include <stdio.h> #include <conio.h> void main() { int a,b,quo,rem; clrscr(); printf(“Enter two numbers a&b:”); scanf(“%d%d”,&a,&b); quo=a/b; rem=a%b; printf(“Quotient=%d”,quo); printf(“nRemainder=%d”,rem); getch(); }

Read More
cprogramming

C Program to convert days into years, days, and months.

August 2, 2020

Write a program to convert entered number of days into years, months, and days.Convert days into years, months, and days.C Program to convert days into years, months, and days.Programming code to convert days into years, days, and months. C Code Write a program to convert entered number of days into years, months and days.#include <stdio.h>#include […]

Read More
features of c programming

C – Features, De-Merits Development Life Cycle

December 4, 2019

Features of C Language It is a block-structured language with functional flow-control constructs. It differs from many of the higher-level languages by permitting interaction with the computer’s inner workings. It is simple, contained, versatile, more expressive general purpose language. It has a high degree of language mobility. It is last and efficient. It is function-oriented. […]

Read More
problems with c programming

C – Problem With C Programming

December 4, 2019

As programs go even larger or complex, the structured programming approach begins to show signs of strength. Horror stories can be heard in such cases saying like a project is too complex, the schedule slips, more programs are needed to complete the project, complexity increases, cost increases, etc. The unrestricted access to global data, i.e let […]

Read More
things to remember while programming in c

Things to Remember While Programming in C

November 7, 2019

C Programming but as you know C programming is the foundation of any programming language. There are a few things to learn before you start.

Read More
c tutorials

C – Programming Introduction With History

November 7, 2019

C is a very powerful high-level programming language which can also be used for developing robust applications and system programming.

Read More
Program by Using External Storage Class

C Program by Using External Storage Class

May 26, 2017

In this article, we are showing you how to write a C Program by using External Storage Class. Before that you make sure that you learn about C Programming. #include<stdio.h> #include<conio.h> int x; long int f=1; void main() { void fact(void) printf(“n Input number:”); scanf(“%d”,&n); factect(); printf(“n Factorial=%ld”,f); getch(); } void factect(void) { int i,x; […]

Read More