Specifier is a typedef-name and a very sensitive in C programming. Using an incorrect specifier for the data type being read or written will generate a run time error.

The test expression done on exact statement. The good habit of using test expression on exact or fulfill statement. So do not use floating point numbers for checking for equality in the test expression.

The iterative statement is one of the most important and interesting statements in the programming world. An iterative statement is used to repeat the execution of a list of statements, depending on the value of an integer expression.

Missing the inclusion of appropriate header file in c program will generate an error. Such a program may compile but the linker will given an error message as it will not be able to find the functions used in the program.

Semoclone ( ; ) is one of the best sensitive symbols in programming. Placing a semicolon ( ; ) after the WHILE or FOR loop is not a syntax error. So it will not be reported by the compiler. However, it is considered to be a logical error as it change

// AHF C PROGRAM SOLVING //solving here basic type of programming problem

#include<stdio.h> #include<math.h> #define pf printf int main() { int m,n,sum=0; pf("Enter two integer number: "); scanf("%d %d",&m,&n); sum=m+n; pf("\nSummation of two number is : %d",sum); //if you want to add two floating point value, float p,q,add=0.0; pf("\nEnter two floating number: "); scanf("%f %f",&p,&q); add=p+q; pf("\nSummation of two floating number is : %f",add); return 0; }

Enter two integer number: 2 3

Summation of two number is : 5

Enter two floating number: 2.36 3.56

Summation of two floating number is : 5.920000

Summation of two number is : 5

Enter two floating number: 2.36 3.56

Summation of two floating number is : 5.920000

- Character conversion
- find if triangle or not
- find two same integer constant
- A general instruction for cleaning room by a robot
- Input any number and find color name
- Given four co-ordinates and find the area of a rectangle
- Given number is square able or not
- In a integer, count digits,sum of digits,reverse the integer and print even and odd digits of the integer
- Find the basic salary, facilities on total salary except tax
- Calculate roots of quadratic equation
- Solve simple formula solution
- Calculate result CGPA in one subject

© 2018 - All rights reserved