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

Give me the code of in-order recursive and non-recursive.

0 Answers   DELL,


What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation

10 Answers   IBM,


Explain what are run-time errors?

0 Answers  


String concatenation

2 Answers  


‎How to define structures? · ‎

0 Answers  






count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

0 Answers  


write a program to display all prime numbers

0 Answers  


why we wont use '&' sing in aceesing the string using scanf

0 Answers   HCL,


write a program that will print %d in the output screen??

9 Answers   Infosys,


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

0 Answers   TCS,


what is the use of keyword volatile??

4 Answers   LG Soft,


program for swapping two strings by using pointers in c language

1 Answers  


Categories