[SOLVED] C-project - lab12

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

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

C++

Java

PHP

Python

Perl

Ruby

R

JavaScript

PHP

 

In lexicographical order:

C

C++

Java

JavaScript

PHP

PHP

Perl

Python

R

Ruby

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.