Php Programming Code Examples
Php > MySQL Code Examples
Escape String
Check Vowel or Consonant use ASCII Code -
English Alphabets a, e, i, o, u both Lowercase & Uppercase are known as vowels. Alphabets other than Vowels are known as Consonants. Step by step descriptive logic to check vowels
Program Code to Implement Linear Search -
C implements 'Linear Search'. Linear search is also called as sequential search. Linear search is a method for Finding a Particular value in a list, that consists of checking every one of its
Code Shows a Client Server in C language -
Message queue program that shows a client server implementation this is the reciever program using Message Queues. Let us set up the message queue. Then the messages...
C Code Prints Prime Numbers from 1 to N -
C program print all Prime numbers between 1 to n using loop. A Prime number is a positive integer greater than 1 that is only divisible by 1 and itself. For example: 2, 3 , 5, 7, 11 are the
C Calculate the total Revenue and Output -
C Programming Choosing the correct type: long. Calculate quarterly total. Output monthly sales and total for the quarter. Calculate the total revenue and output it.
Replace all Occurrences of a Character in a -
Write a C program to 'Replace all Occurrence' of a character with another in a string using a Function. 'Input a string' from user, store it in some variable say str. Input old character and
C Language code to Appending two files -
Appending, writing files in c programming language. Append the source target. Open the first file for reading. The second file for writing. Copy data from the first file to the
Count Occurence of a Substring in a String -
Program takes a string & a substring as input and "counts the occurrence of a substring" in string. Take a String and a Substring as input. Firstly check for the substring in the string. If