Answer Posted / anoop.a.jawalkar
An Array is a fixed-size sequenced of elements of the same
data type. It is simply a grouping of like-type data. In
its simplest form, an array can be used to represent a list
of number, or a list of names.
Some useful eg:.
* List of temperatures recorded every hour in a day,or a
month, or a year.
* list of employees in an organization.
* List of products and their cost sold by a store.......
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is the scope of static variable in c?
can anyone suggest some site name..where i can get some good data structure puzzles???
How to explain the final year project as a fresher please answer with sample project
What is a example of a variable?
How can I do peek and poke in c?
How can I read data from data files with particular formats?
Explain what is a program flowchart and explain how does it help in writing a program?
What is the scope of global variable in c?
What does typedef struct mean?
What is %lu in c?
Write a Program to accept different goods with the number, price and date of purchase and display them
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Explain how do I determine whether a character is numeric, alphabetic, and so on?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.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. 3.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(i.e.,the original ASCII equivalent plus the random integer)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. 4.Dislay 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 decodingas was used in encoding.