any restrictions have on the number of 'return' statements that may be present in a function.

a) no restriction

b) only 2 return statements

c) only 1 return statements

d) none of the above


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

Post New Answer

More C Interview Questions

Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

0 Answers  


void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }

3 Answers  


How is actual parameter different from the formal parameter?

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


Where we use clrscr in c?

0 Answers  






12344321 123 321 12 21 1 1 how i print this program??

5 Answers   DSR Management, Winit,


How to add two numbers with using function?

4 Answers  


implement OR gate without using any bitwise operator.

1 Answers   Alcatel, Wipro,


what will be the output of "printf("%d%d",scanf("%d% d",&a,&b))".provide an explation regarding the question

6 Answers  


What is your stream meaning?

0 Answers  


What is the difference between exit() and _exit() function?

0 Answers  


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

0 Answers  


Categories