Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

Class ChaArray contains an array of n characters (n<=100). You may assume that the array contains only the letters of the English alphabet. Some of the members functions/methods of ChaArray are given below.

Class name:	ChaArray.
Data members/instance variables:
Char ch[]	an array of characters
int  size	the size of array of characters.
Members functions/methods:
ChaArray()	constructor to assign to initialize instance variables to null.
ChaArray(char c[])	constructor to assign characters array c to the instance variable.
void displayArray()	to display the list of n characters.
void move()	to move all the upper case letter to the right side of the array and the lower case letters to the left side of array without using any standard sorting technique
e.g. input : t D f s X v d

     output: t d f s v X D

 

Specify the class ChaArray giving the details of the two constructors and the functions void displayArray() and void move() only. You need to write the main function.
asked by Anugrahkapoor24 (anugrahkapoor24) 7 years ago
0

Other Questions on This Topic

When is the 2026 icse exam?
asked by Yogesh (yogesh) 57 days ago
1

+ 3 more questions by yogesh  

https://www.respaper.com/
asked by Sujata Kundu (mumpi_1989) 114 days ago
1

+ 3 more questions by mumpi_1989  

i'm unable to download papers
asked by Tsa (rajpurohit14) 205 days ago
1
Class 9 final question paper
asked by Armaan Mandal (arms10) 229 days ago
0
How to contact respaper
asked by Insha Naz Fatima (sarahmeh) 252 days ago
1

+ 2 more questions by sarahmeh  

8th Icse question papers
asked by Aparna Narayan (aparna1974) 354 days ago
1
What's up people? Does anyone I know ever visit this place? If yes please just hit me up with a "hi" I would love to chat haha... Take care everyone :))
asked by Anshika Jaiswal (anshika28) 1 year ago
4
I've got an endsem exam in an hour but all I am doing is reading old threads on res. 🥲
asked by Nisarg Bhavsar (nisarg71) 1 year ago
3
Hlooo..itzz been longgg...ICSE 2018 batch anybody??
asked by Snigdha (silver2002) 1 year ago
3

Next Page >>

ICSE chat

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us