Asked inCognizant,GenC

What is a function and it's uses?

AnswerBot
1y

A function is a block of code that performs a specific task and can be called multiple times.

  • Functions help in modularizing code and making it reusable.

  • Functions can take parameters and return values....read more

Amreen Begum
7mo
Function in mathematics and expressions rule or law the defines a relationship between one variable the independent variable and another variable (the dependent variable)
Anonymous
2y

A function is a uses for an program together task complier about that function name parameters return type etc

Anonymous
2y

A function is a uses for an program together task complier about that function name parameters return type etc

Lakshmi
2y

A function is a group of statements that together perform a task. Every c program has at least one function. Which is main(),and all the most trivial programs can define additional functions. You can ...read more

Lakshmi
2y

A function is a group of statements that together perform a task. Every c program has at least one function. Which is main(),and all the most trivial programs can define additional functions. You can ...read more

Somu kuladeep
author
3y
A function is a group of statements that together performs a particular task. Uses: it tells the compiler about a function name, parameters, return type etc.,
Add answer anonymously...
Cognizant GenC Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter