How do I initialize a pointer to a function?
Answers were Sorted based on User's Feedback
Answer / jaya prakash
return_type (*pointername)(arg list)
eg
void fnname();
void (*f)()=fnname;//ptr initialisation
//f is the poniter to fn printf
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / 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 |
Explain zero based addressing.
why we use pointer in c
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What is meant by recursion?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
what is c programming?
Identify the operators that is not used with pointer a. && b. # c. * d. >>
what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }
What are the different types of pointers used in c language?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
Explain what’s a signal? Explain what do I use signals for?
#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }
12 Answers Capital IQ, Sasken,