I have an array of 100 elements. Each element contains some
text. i want to:
append a star character to the end of every fifth element
remove every second character from every tenth element,
and…
add a line feed (ascii 10) after the 30th character of
every array element whose length is greater than 30
characters.
I have an array of 100 elements, each of which is a random
integer. I want to know which of the elements:
a) are multiples of 2
b) are multiples of 2 AND 5
c) have a remainder of 3 when divided by 7
what is the difference between postfix and prefix unary
increment operators?
27
what does keyword ‘extern’ mean in a function declaration?
1
Write an interactive c program that will encode or decode a
line of text. To encode a line of text, proceed as follows:
Convert each character, including blank spaces, to its
ASCII equivalent.
Generate a positive random integer. Add this integer to the
ASCII equivalent of each character. The same random integer
will be used for the entire line of text.
Suppose that N1 represents the lowest permissible value in
the ASCII code, and N2 represents the highest permissible
value. If the number obtained in step 2 above exceeds N2,
then subtract the largest possible multiple of N2 from this
number, and add the remainder to N1. Hence the encoded
number will always fall between N1 and N2, and will
therefore always represent some ASCII character.
Display the characters that correspond to the encoded ASCII
values.
The procedure is reversed when decoding a line of text. Be
certain, however, that the same random number is used in
decoding as was used in encoding.
i want to know the procedure of qualcomm for getting a job
through offcampus
135
compare array with pointer?
6
what is computer engg
46
what is the self-referential structure?
1
Write a function stroverlap that takes (at least) two
strings, and concatenates them, but does not duplicate any
overlap. You only need to worry about overlaps between the
end of the first string and the beginning of the second
string.
Examples:
batman, manonthemoon = batmanonthemoon
batmmamaman, mamamanonthemoon = batmmamamanonthemoon
bat, man = batman
batman, batman = batman
batman, menonthemoon = batmanmenonthemoon
132
how will you write a program on linked lists using JAVA
programming???????????
how to get the starting address of file stored in harddisk
through 'C'program.
72
What is the code for 3 questions and answer check in
VisualBasic.Net?
60
hi folks i m approching for h1 b interview on monday 8th of
august at montreal and i m having little problem in my
approval notice abt my bithdate my employer has made a
mistake while applying it is 12th january and istead of
that he had done 18 the of january do any body have any
solution for that if yes how can i prove my visa officer
abt my real birthdate it urgent please let me know guys
thaks dipesh patel
90
What is a Genralised LInked List??
Please give a detailed explation of it..