What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.

Answers were Sorted based on User's Feedback



What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / ningappa

a.Need not return any value

Is This Answer Correct ?    55 Yes 2 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / arjun

none of options is answer...
so option (a)shud b lyk ..

a) its not necessary to return any value

n dis will b correct in case of return type of function is
void

Is This Answer Correct ?    14 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / ramesh

Need not return any value

Is This Answer Correct ?    10 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / sunayana

d ans. is a.that it is nt neccsary for any c function to
return any value

Is This Answer Correct ?    9 Yes 1 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / shruti

Need not return any value.

its acceptable if a function does not return any value
provided its return type is "void"..

if its return type is char , int , float.. then it has to
return that respective type of value

Is This Answer Correct ?    8 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / shikhar

yes, the answer is a. In C, the function may or may not
return any value. In new languages like vb, dotnet....these
kind of functions are called "subroutines".

Is This Answer Correct ?    2 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / nisha

dont give any anws without explanation..

Is This Answer Correct ?    0 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / vinod

hey guys but when main finishes its execution does it not return any value to the compiler that the main() executed successfully or not .
how will one know that main has executed successfully.

Is This Answer Correct ?    0 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / sharana basava

Ya... d ans wil be a. In c the func may or may not returns
d value......so the ans wil ne need not to return d
value... if tis is rit tan the func must have void as a
data type.. like void main..

Is This Answer Correct ?    0 Yes 0 No

What is true about the following C Functions a.Need not return any value b.Should always re..

Answer / mili

A.need not return any value

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986

2 Answers  


Why doesn't C support function overloading?

2 Answers  


which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 Answers   Accenture, Infosys, TCS, Wipro,


what is a NULL pointer?

2 Answers  


What is the use of f in c?

0 Answers  






how can u print a message without using any library function in c

1 Answers   NIIT,


How do you construct an increment statement or decrement statement in C?

0 Answers  


Write a c program to demonstrate Type casting in c?

2 Answers  


Is void a keyword in c?

0 Answers  


write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

11 Answers   CSC, St Marys, TATA,


What are linked lists in c?

0 Answers  


void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }

5 Answers   C DAC, CDAC, Infosys, Wipro,


Categories