By: Nirmal : 2023年05月11日
Description: In C, #if and #else are preprocessor directives that allow conditional compilation of code based on whether a given macro is defined or not.
By: Ignatius : 2012年03月16日
Description: This simple C program computes the sum of all the elements of an array.
By: Ignatius : 2012年03月16日
Description: This simple C program prints a simple histogram.
By: Ignatius : 2012年03月16日
Description: This simple C program sorts the elements of an integer array and prints them.
By: Jeffrey : 2012年03月16日
Description: This simple C program shows how to find square and square root for a given number.
By: Jeffrey : 2012年03月16日
Description: This simple C program shows simple arithmetic calculations.
By: Jeffrey : 2012年03月16日
Description: This simple C program shows the method to accept and display command-line arguments.
By: Emiley J : 2010年04月16日
Description: This is a simple calculator written in C. To use this calculator, just type the number, followed by the operand and then by another number. The application will then display the result. After the result is displayed, the program goes into the loop which asks if they want to do another calculation. If y is pressed, another calculation can be carried out.
By: Emiley J : 2010年04月16日
Description: This sample program in C demonstrates the concept of passing a double value to a function as parameter. The program accepts a number in feet and converts the feet into meters by using a conversion function.
By: Emiley J : 2010年04月16日
Description: This sample program in C demonstrates the concept of passing a pointer as a parameter to a function. In this program, the function "prompt" accepts two pointers. The second parameter (num) is a pointer to the variable i. Since it is a pointer, the function does not return the value. The value is stored in i itself.
© 2023 Java-samples.com
Tutorial Archive: Data Science React Native Android AJAX ASP.net C C++ C# Cocoa Cloud Computing EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Trends WebServices XML Office 365 Hibernate
Latest Tutorials on: Data Science React Native Android AJAX ASP.net C Cocoa C++ C# EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Cloud Computing WebServices XML Office 365 Hibernate