How do I initialize a pointer to a function?

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


Please Help Members By Posting Answers For Below Questions

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.

3103


Why is c still so popular?

782


The __________ attribute is used to announce variables based on definitions of columns in a table?

936


Explain what are reserved words?

829


What does %c do in c?

760


What is meant by operator precedence?

869


string reverse using recursion

2058


What is c basic?

853


Why shouldn’t I start variable names with underscores?

817


Does c have an equivalent to pascals with statement?

750


Why is #define used?

984


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3031


What is meant by 'bit masking'?

1088


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

2726


Explain #pragma statements.

794