Read N characters in to an array . Use functions to do all
problems and pass the address of array to function.
1. Print only the alphabets . If in upper case print in
lower case vice versa.
2. Enter alphanumeric characters and form 2 array alphaets
and digits.Also print the count of each array.
3. Find the count of a certain character.
4. Print the positions where a certain character occured.
5. Print the characters between successive array elements.
6. Find the largest and smallest charcter. How many times
it each one occured.
7. Enter a certain range. Print out the array elements
which occured between these range.
8. Reverse a character array without using another array.
9. Reverse an array region.
10. Replace a the array elements with it next character .
Use a after z.
11. Code the array element with certain character as first
alphabet.
12. Duplicate all the vowels in a character array. What is
the new count.
13. Delete the vowels in a character array. What is the new
array count.
14. Print the count of all characters in the array.
15. Enter n alphabets and store a upto tht
charcter in array.What is the array count?
16. Sort a character array.
17. Merge 2 character arrays largearray,smallarray.
18. Find the pair with largest number of characters in between.
19. Find the numerical value of a charcter array.
20. Store n numeral characters in an arrray. Insert another
numeral character in a certain position.
21. Insert a character in a sorted array.
22. Merge 2 sorted arrays in sorted fashion.
23. Duplicate the least occuring character.
24. Write a menu driven program to circular right/left shift
an array of n elements.
25. Is the character array palindrome? if not make it
palindrome.
26. Concatenate the first n charaters to the end of the string.
27. Print all n group of chracters which are palindrome.
28. Concatneate the reverse of last n characters to the array.
Read N characters in to an array . Use functions to do all
problems and pass the address of array to function.
2. Enter alphanumeric characters and form 2 array alphaets
and digits.Also print the count of each array.
Read N characters in to an array . Use functions to do all
problems and pass the address of array to function.
1. Print only the alphabets . If in upper case print in
lower case vice versa.
1. Duplicate the even numbers. -1
Sample I/O
Array1:- 4,2,24,3,22
Updated Array:- 4,4,2,2,24,24,3,22,22
2. Reverse the array in a region - 1
Sample I/O
Array1:- 4,2,24,3,22,41,21
Enter Region:- 2,5
Update Array:-4,41,22,3,24,2,21
3. Store first the even digits in an array and then odd
digits in same array -2
Sample I/O
Array1:- 4,2,24,3,22,41,21
Array 2:- 4,2,2,4,2,2,4,2,3,1,1
4. Store the count of the digits in all numbers in an array
and print the count. -2
Sample I/O
Array1:- 4,2,9,3,7,41,28
Array 2:- 0,1,1,1,2,0,0,1,1,1
1-1;2-1;3-1;4-2;7-1;8-1;9-1
5. Store all palindrome numbers in to another array -2
Sample I/O
Array1:- 4,22,9,313,7,141,28
Array 2:- 4,22,9,313,141
6. Arrange the array in such a way that odd numbers come
first and then even numbers -1
Sample I/O
Array1:- 4,22,9,313,7,141,28
Update Array1:- 9,313,7,141,4,22,28
7. Store into another array by inserting it in the right
place - 2
Sample I/O
Array1:- 4,22,9,313,7,141,28
Array2:- 4 /4,22 /4,9,22 /4,9,22 ,313 /4,7,9,22 ,313
/4,7,9,22 ,141,313 /
4,7,9,22,28 ,141,313
8. Merge two sorted arrays in a sorted fashion - 3
Sample I/O
Array 1:- 3,6,7,9,11,16
Array 2:- 1,2,5,7,20
Array 3:- 1,2,3,5,6,7,9,11,16,20
9. Upadte the array so that an array element is followed by
its revere - 1
Sample I/O
Array 1:- 13,63,74,9,11,16
Updated Array 1:- 13,31,63,36,74,47,9,9,11,11,16,16
10.Spread the digits of the array in the same array. -1
Sample I/O
Array 1:- 13,63,74,9,11,16
Updated Array 1:-1,3,6,3,74,9,1,1,1,6
11.Shift the boundary of array to have only 2 digit numbers.
Sample I/O
Array 1:- 139,643,74,9,101,126
Updated Array 1:- 13,96,43,74,91,11,26
12.Print the largest occuring digit in an array of N numbers.
Sample I/O
Array 1:- 13,63,74,9,11,16
1 occurs most.
what are the files which are automatically opened when a c
file is executed?
9
1.What is a Data Structure? Explain its need?
2.What is a Directed Graph? Write an algorithm to find
whether a Directed Graph is connected or not?
3.Explain the process of converting a Tree to a Binary Tree.
Write a C program on Centralized OLTP, Decentralized OLTP
using locking mechanism, Semaphore using locking mechanism,
Shared memory, message queues, channel of communication,
sockets and a simple program on Saving bank application
program using OLTP in IPC?
send me the code of flow chart generator using C-programming
language amd this code should calculate the time and space
complexity of the given progran and able to generate
flowchart according to the given program?
How do you initialize function pointers? Give an example?
4
hai iam working in sap sd module for one year and working
in lumax ind ltd in desp department but my problem is i
have done m.b.a in hr/marketing and working sap sd there is
any combination it. can you give right solution of my
problem. and what can i do?
Hi how many types of software editions are there and their
difference (like home editions, enterprise, standard etc)
can u please help me
49
why arithmetic operation can’t be performed on a void pointer?
7
a) Identify the following declarations.
Ex.
int i
(integer variable) float a[l0](array of 10 real nos)
int (*f())()
void *f
int (*f()) []
void *f
int f[] [] []
char *(*f) ()
int (*f[]) []
float(*f) [] []
float **f
int ******f