10. Study the code:
void show()
main()
{
show();
}
void show (char *s)
{
printf("%sn",s);
}
What will happen if it is compiled & run on an ANSI C
Compiler?
A)It will compile & nothing will be printed when it is
executed
B)it will compile but not link
C)the compiler will generate an error
D)the compiler will generate a warning
Answer Posted / hanumant
C)the compiler will generate an error
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is a good data structure to use for storing lines of text?
What is the difference between memcpy and memmove?
What is a class c rental property?
What is malloc calloc and realloc in c?
What is a program flowchart?
Explain a file operation in C with an example.
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What is atoi and atof in c?
Explain c preprocessor?
What is substring in c?
Why can’t we compare structures?
why programs in c are running with out #include
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Compare and contrast compilers from interpreters.
Write a c program to build a heap method using Pointer to function and pointer to structure ?