Here is very small application written in C, that concatenates strings.
#include
#include
int main() {
char str[100];
strcpy(str, "Hello ");
strcat(str, "World!");
printf("%s\n", str);
return 0;
}
The result is "Hello World!".
Concatenation is done by function strcat which is defined in string.h.
Write a program to convert a 2-digit BCD number into hexadecimal
WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
How to write a program for mouse in microprocessor?
Write a simple program in finding roots x^3-6x^2+11x-6.1=0
#include <stdio.h> int main (void) { puts ("4"); return 0; }
You can get 2 purple strings 2blue strings and 2 green strings and braid them together.
Piano, flute, 2 clarinets, 2 bassoons, 2 French horns, and strings.
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
1 2 3
Originally, the mandolin had 6 strings. Later designs included 8 strings (4 pairs) and the strings were plucked with a plucktrum. Other designs have multiples of 4 strings, up to a maximum of 16 strings.
{A program to compute the area of a triangle} {by Ogboin W. Meshach} Var; b,h:real; BEGIN Writeln('Triangle'); Write('Base: '); Readln(base); Write('Height: '); Readln(height); area:=0.5*base*height; Writeln('Area: ', area :0:2); End.
program to find maximum of two numbers using pointers