What are the advantages of the functions?



What are the advantages of the functions?..

Answer / Santosh Kumar Gangwar

Functions in C provide various advantages such as modularity (grouping related code together), reusability (functions can be used multiple times), improved readability and maintainability, and abstraction (hiding implementation details).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā€œ%dā€ ,a[i]); }

8 Answers  


Is c# a good language?

1 Answers  


write a program of palindrome(madam=madam) using pointer?

5 Answers   L&T,


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

0 Answers  


How is a pointer variable declared?

1 Answers  


What is use of integral promotions in c?

1 Answers  


what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel

1 Answers   V2 Solutions,


wat is the difference between array and pointer?

4 Answers   Wipro,


What are the types of pointers in c?

1 Answers  


How old is c programming language?

1 Answers  


How are structure passing and returning implemented?

1 Answers  


In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 Answers   IBM,


Categories