Starting from:

$25

C-project - lab12 - Solved

LAB QUESTIONS 

Write C Program to Concatenate Two Strings. 

 

Enter first string: Ahmet 

Enter second string: Ali 

After concatenation: AhmetAli 
Write C Program to Remove all Characters in a String Except Alphabet 

 

Enter a string: p2'r-o@gram84iz./ 

Output String: programiz 
 

Write C Program to Count the Number of Vowels, Consonants and so on 

Enter a line of string: adfslkj34 34lkj343 34lk 

Vowels: 1 

Consonants: 11 

Digits: 9 

White spaces: 2 
 

 

Write C Program to Sort Strings in Dictionary Order 

Enter 10 words: 



C++ 
Java 

PHP 

Python 

Perl 

Ruby 



JavaScript 

PHP 

 

In lexicographical order:  



C++ 

Java 

JavaScript 

PHP 

PHP 

Perl 

Python 



Ruby 
 

More products