When do you not use the keyword 'return' when defining a function

a) Always

b) Never

c) When the function returns void

d) dfd


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is difference between far and near pointers?

0 Answers  


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,


How do I use void main?

0 Answers  


What is pointer in c?

0 Answers  






What are the types of variables in c?

0 Answers  


Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


explain about storage of union elements.

2 Answers   ABC, Bosch,


O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N

9 Answers   ADP,


What is the function of volatile in c language?

0 Answers  


What is indirection? How many levels of pointers can you have?

0 Answers   Aspire, Infogain,


a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21

4 Answers   TCS,


Categories