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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

604


Process by which one bit pattern in to another by bit wise operation is?

615


In C programming, what command or code can be used to determine if a number of odd or even?

624


which is conditional construct a) if statement b) switch statement c) while/for d) goto

740


Explain about block scope in c?

663






What does main () mean in c?

616


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

626


What extern c means?

546


How can I do graphics in c?

597


What are the different types of errors?

647


Differentiate between declaring a variable and defining a variable?

610


Why is c called a mid-level programming language?

729


What is a substring in c?

589


What is ctrl c called?

599


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

648