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

How do we make a global variable accessible across files? Explain the extern keyword?

0 Answers  


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


What is C language ?

0 Answers   Jekson,


What is .obj file in c?

0 Answers  


Can you please explain the difference between strcpy() and memcpy() function?

0 Answers  


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

0 Answers   Subex,


typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?

1 Answers  


How many types of operator or there in c?

0 Answers  


who is first prime minister in india??

8 Answers   Wipro,


What are logical errors and how does it differ from syntax errors?

0 Answers  


Explain what is the purpose of "extern" keyword in a function declaration?

0 Answers  


what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 Answers   Google,


Categories