A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
Answers were Sorted based on User's Feedback
What is p in text message?
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
If fflush wont work, what can I use to flush input?
Software Interview Questions
When would you use a pointer to a function?
Write a program in c to input a 5 digit number and print it in words.
Explain what does the function toupper() do?
What is your favorite subject?
1 Answers Ericsson, Invendis, Tech Mahindra,
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
What is volatile in c language?
Why header file is used in c?
What are bitwise shift operators in c programming?