Which of the following is not a valid declaration for main
()?
1) int main()
2) int main(int argc, char *argv[])
3) They both work
Answer Posted / chandrakala
3.both are works well.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Is javascript based on c?
how do you execute a c program in unix.
What is stack in c?
Where does the name "C" come from, anyway?
What does a pointer variable always consist of?
What does != Mean in c?
What is the difference between mpi and openmp?
How can I delete a file?
What is this infamous null pointer, anyway?
When would you use a pointer to a function?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
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.
What is putchar() function?
Give the rules for variable declaration?