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 |
Explain what does it mean when a pointer is used in an if statement?
what is the use of c program?
4 Answers Synergy, Web Synergies,
Difference between constant pointer and pointer to a constant.
What is linear search?
What is register variable in c language?
what is the difference between while and do while?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??
19 Answers EBS, Ramco, Sangwin, TCS,
what does data structure mean?
What are the different types of data structures in c?
can we write a c program with out using main