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

Post New Answer

More C Interview Questions

Why do we use main function?

0 Answers  


What are local static variables?

0 Answers  


Differentiate between #include<...> and #include '...'

0 Answers  


How #define works?

0 Answers  


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

0 Answers  






Write a pro-gramme to determine whether the number is even or odd?

1 Answers  


How to write c functions that modify head pointer of a linked list?

0 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

0 Answers  


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; }

2 Answers  


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

0 Answers   Ignou, Microsoft,


What are global variables?

0 Answers  


Categories