in case any function return float value we must declare
a) the function must be declared as 'float' in main() as well
b) the function automatically returned float values
c) function before declared 'float' keyword
d) all the above
No Answer is Posted For this Question
Be the First to Post Answer
Why do we use main function?
What are local static variables?
Differentiate between #include<...> and #include '...'
How #define works?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Write a pro-gramme to determine whether the number is even or odd?
How to write c functions that modify head pointer of a linked list?
Explain what is meant by high-order and low-order bytes?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
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
What are global variables?