Define function ?Explain about arguments?
Answers were Sorted based on User's Feedback
Answer / cguru
A function is a procedure to solve a given task.
Arguments are parameters which are specified in the function
header.
| Is This Answer Correct ? | 12 Yes | 3 No |
Answer / prashant
Function means to do something within one procedure
everything is predefine in function.
Arguments means what we want to pass while calling that
function.
| Is This Answer Correct ? | 5 Yes | 3 No |
Why is c used in embedded systems?
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
What is sizeof int in c?
What is a ternary operator in c?
What is a segmentation fault?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
What is the difference between union and structure in c?
where can function pointers be used?
What is static and auto variables in c?
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
What is the difference between null pointer and wild pointer?
can we change the default calling convention in c if yes than how.........?