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 ..

Answer / devendra kumar gupta

need not return any value

Is This Answer Correct ?    16 Yes 3 No

What is true about the following C Functions (a) Need not return any value ..

Answer / seema choudhary

(a) Need not return any value
b'caz all statements has using the return type

Is This Answer Correct ?    6 Yes 1 No

Post New Answer




More C Interview Questions

int x=5; printf("%d%d%d",x,x<<2,x>>2);

2 Answers   TANCET,


b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720

1 Answers   HCL,


C program to perform stack operation using singly linked list

3 Answers  


Is c is a middle level language?

0 Answers  


writw a program to insert an element in the begning of a doubly linked list

1 Answers  






main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?

7 Answers   HCL, Ramco, AMCAT, Zycus Infotech,


What is the scope of an external variable in c?

0 Answers  


What is difference between arrays and pointers?

0 Answers  


What are called c variables?

0 Answers  


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

0 Answers   CLG,


write a function which accept two numbers from main() and interchange them using pointers?

3 Answers  


What is floating point constants?

0 Answers  






Categories