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
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.
Process by which one bit pattern in to another by bit wise operation is?
In C programming, what command or code can be used to determine if a number of odd or even?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Explain about block scope in c?
What does main () mean in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What extern c means?
How can I do graphics in c?
What are the different types of errors?
Differentiate between declaring a variable and defining a variable?
Why is c called a mid-level programming language?
What is a substring in c?
What is ctrl c called?
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