What is function what are the types of function?



What is function what are the types of function?..

Answer / Kanchan

In C programming, a function is a collection of statements that performs a specific task. There are two main types of functions: built-in functions (predefined functions like printf(), scanf()) and user-defined functions (functions created by programmers to fit their specific needs).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

define switch statement?

6 Answers   CTS,


EXPLAIN #INCLUDE<STDIO.H> EXPLAIN #INCLUDE<CONIO.H>

4 Answers  


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,


What are static functions?

1 Answers  


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?

1 Answers   Wipro,


Which driver is a pure java driver

1 Answers   Vertex,


if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item

2 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


a=5 a=a++/++a

14 Answers   Bhel,


Can I initialize unions?

1 Answers  


Explain is it better to bitshift a value than to multiply by 2?

1 Answers  


what is the difference b/w NULL and null?

3 Answers   HSBC, IBM,


Categories