Explain following declaration
int *P(void);
and
int (*p)(char *a);
Answer Posted / tibu
int *p(void) - says this is function with null parameter
and returns a pointer to an integer.
int (*p)(char *a) - says this is function with a pointer to
a char a as parameter and returns a pointer to an integer.
Is This Answer Correct ? | 19 Yes | 19 No |
Post New Answer View All Answers
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Explain what is wrong with this program statement?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Lists the benefits of c programming language?
What are the 4 types of functions?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What is n in c?
What is file in c language?
what are the different storage classes in c?
Can include files be nested? How many levels deep can include files be nested?
What is the deal on sprintf_s return value?
What is a program flowchart and how does it help in writing a program?
In which header file is the null macro defined?
What is chain pointer in c?
Where we use clrscr in c?