define function

Answer Posted / satya.tivari

a function is a block of code or a logic by using some
methods that to be executed.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

1010


Can you write the algorithm for Queue?

1759


What does typeof return in c?

838


explain what is fifo?

839


Why is structure important for a child?

838


What is openmp in c?

787


What are the types of type specifiers?

811


What is a program flowchart?

821


What are identifiers and keywords in c?

773


Write a code to remove duplicates in a string.

832


What is wrong with this declaration?

840


How many types of arrays are there in c?

787


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2819


How will you find a duplicate number in a array without negating the nos ?

1850


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

3943