Answer Posted / k.thejonath
void (*)f();
Here f if is pointer to a function having no arguments and
no return values.
Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
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.
Why is c still so popular?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Explain what are reserved words?
What does %c do in c?
What is meant by operator precedence?
string reverse using recursion
What is c basic?
Why shouldn’t I start variable names with underscores?
Does c have an equivalent to pascals with statement?
Why is #define used?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
What is meant by 'bit masking'?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
Explain #pragma statements.