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

What are the general description for loop statement and available loop types in c?

0 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 Answers  


#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?

6 Answers   Ramco,


Do pointers need to be initialized?

0 Answers  


Output for following program using for loop only * * * * * * * * * * * * * * *

3 Answers  






What is use of pointer?

0 Answers  


What are the types of data files?

0 Answers  


Difference between linking and loading?

0 Answers  


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

0 Answers   iNautix,


main() { int a[10]; printf("%d",*a+1-*a+3); }

2 Answers  


Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.

8 Answers  


A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }

2 Answers   Wipro,


Categories