You are here:   HomeC Programming (Pratical)
by Dinesh Thakur Category: C Programming (Pratical)

In this program user convert the temperature from Fahrenheit to Celsius. User declares required variables for containing the value in it. User declares the value to variables manually to make process of temperature conversion. Then while condition for laying the condition complete. In while condition the method is been used for temperature conversion that are required. Then a printing method to print result on the screen.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to find out the average of n Numbers. User declares some variables that are used to contain the value and some elements to be assumed for computation as it is. Like variable N has to be assumed for finding average. While asking about the number quantity user also use While condition to the content. While (count < n) in condition prints the value of x and increment operator for increasing the number. In the end the method to be used for the calculating the average of N number. In the end to display the result in the end.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to delete character from String using pointer concept. User declares char type array variable. User using malloc() function for the allocate the memory to the variable. Then user asks to enter the string then shifted the ptr to str variable for address reference. Then user puts the while condition to verify condition. In condition while (*ptr! =NULL) then if (*ptr!=ch) is that all the conditions got true the *ptr2 will be *ptr2++ with increment operator. And in the end the given result will be on the screen at the end.



 
by Dinesh Thakur Category: C Programming (Pratical)

In this Program user asks to Swap a two number through function. User declares the pointer type variable for interchanging the value of two variables. User asks to enter the value. User make a function named swap that will be called in other class. Then a printing message for swapped value to the function then returns a value.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user asks to replace the string from existing one. User declares required char type variables that will be used to store the value. Here in operation mode user declare nested for loop statement in that statement user elaborate the variables that are used to functionality mode. Here in other type mode user also use if condition along within do while loop. If (l1>=l2) condition got true than do while loop will come in function. In do while condition for loop also exists for replacing the character and an if-else condition too. Condition going to be check that if the character exists in the string or not the condition got true then it will replace the character. And display the result on the screen.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is C program where user asks to interchange the two values with each other using Call by reference method. Declaring the required variable for functionality. Then after user declare void swap() function that which will give the reference to other class for interchange. After that user call the function that declare void swap() then using method to interchange the value of variables with the help of pointer concept to declare pointer type variables that are useful while using the call by reference method. In the end the result has to be display on the screen.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to find the Maximum number between the 5 numbers. Here user declares the variables that which store the value. User asks to enter the five numbers for compilation. Here user uses for loop to vary the condition regarding to situation. Here user declare nested loop statement for number and then if condition. If (a[i]>a[j]) if all the condition got vary then the loop statement will collaborate the number that it varies and put on the screen as result it has.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is C program where user asks to trace a matrix with giving the order of matrix and print it. Here user declares variables that are mandatory for storing the value with it. Some variables are array type to holding value multiple. User asks to enter the no. of rows and columns as order of matrix. And then enters a number then after user varies the loop statement for situation handling to print a matrix. Nested loop statements are used in this program to elaborate the condition itself for tracing the matrix. A printing message for the matrix elements. And then display matrix on the screen as a result.

 
by Dinesh Thakur Category: C Programming (Pratical)

 In this program user asks to find out the Student grade and marks. User define strut concept in this program and the array type variable for storing the liable value. Here user asking to enter the required fields like roll no, name and marks of student. After declaring all the user using control statement as nested if-else for marking out the status about passing or fail criteria here user insist a condition if(s[k].m1>=35 && s[k].m2>=35 && s[k].m3>=35) then pass else fail. After finding out this one user find out the total obtaining marks of students.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user asks to text conversion from Lower case to uppercase. User declares the char type variable. User also uses the loop statement that will execute the concept of conversion. The other function for put char that has to get the character that converted. In the end the display the result on the screen as well.

 

Page 6 of 18

What's New and Popular





Search Content







Advance Courses



Basic Courses



Advertise with Us