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



in case any function return float value we must declare a) the function must be declared as '..

Answer / Abdullah Shahid

a) the function must be declared as 'float' in main() as well

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

which do you prefer C or Pascal?

1 Answers  


how to reverse string "Hello World" by using pointers only. Without any temp var

1 Answers  


how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0

4 Answers   Wipro,


Define recursion in c.

1 Answers  


difference between object file and executable file

1 Answers  


How many levels of indirection in pointers can you have in a single declaration?

1 Answers   Agilent, ZS Associates,


write a program to produce the following output; ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A

17 Answers   ABC, College School Exams Tests,


Differentiate between new and malloc(), delete and free() ?

1 Answers   iNautix,


i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);

8 Answers   HCL,


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1 Answers   HCL,


WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?

8 Answers   Carphone Warehouse, IBM, SAS,


How can I read in an object file and jump to locations in it?

1 Answers  


Categories