What is cohesion in c?



What is cohesion in c?..

Answer / Ajit Kumar Thakur

In C programming, cohesion refers to the degree to which a module (e.g., a function or a class) performs a single, well-defined task.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

difference between function & structure

9 Answers   Verizon,


What is the difference between exit() and _exit() function in c?

1 Answers  


What is the meaning of typedef struct in c?

1 Answers  


What is the meaning When we write "#include" what is # and what does include does there???

22 Answers   HCL, Wipro,


to convert a string without using decrement operater and string functions

1 Answers  


Define VARIABLE?

1 Answers   ADP,


difference between c and c++

3 Answers  


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1 Answers  


What is the benefit of using an enum rather than a #define constant?

1 Answers  


How do I get a null pointer in my programs?

1 Answers  


f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?

9 Answers   Hughes, Tech Mahindra,


1.find the second maximum in an array? 2.how do you create hash table in c? 3.what is hash collision

9 Answers   HCL, Qualcomm,


Categories