ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
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.
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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.
Answer
# 1
a.Need not return any value
 
Is This Answer Correct ?    1 Yes 1 No
Ningappa
 
  Re: 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.
Answer
# 2
d ans. is a.that it is nt neccsary for any c function to 
return any value
 
Is This Answer Correct ?    1 Yes 0 No
Sunayana
 
 
 
  Re: 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.
Answer
# 3
b . should return a value
 
Is This Answer Correct ?    0 Yes 0 No
Ani
 
  Re: 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.
Answer
# 4
Need not return any value
 
Is This Answer Correct ?    0 Yes 0 No
Ramesh
 
  Re: 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.
Answer
# 5
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 ?    0 Yes 0 No
Shikhar
 
  Re: 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.
Answer
# 6
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 ?    1 Yes 0 No
Shruti
 
  Re: 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.
Answer
# 7
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 ?    0 Yes 0 No
Arjun
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
can i know the source code for reversing a linked list with out using a temporary variable? Honeywell6
wite a programme in c to linear search a data using flag and without using flags? TCS3
plz answer..... a program that reads non-negative integer and computes and prints its factorial  2
c programming of binary addition of two binary numbers  1
What are .h files and what should I put in them?  3
what is difference between array of characters and string Accenture10
program to get the remainder and quotant of given two numbers with out using % and / operators? IBM8
Given an unsigned integer, find if the number is power of 2?  4
Is it possible to create recycle bin in mobiles?  2
sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x? Subex2
what is a far pointer TCS9
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures. Google3
what is pointer ? Kernex-Micro-Systems7
to find out the reverse digit of a given number Infosys5
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?  2
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6 TCS5
different between overloading and overriding  3
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3  3
what is a headerfile?and what will be a program without it explain nan example? Assurgent5
what is Structural oriented language? give some example of this language.....?  1
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com