why use functions
a) writing functions avoids rewriting the same code over and over
b) using functions it becomes easier to write programs and keep track of what they are doing
c) a & b
d) none of the above
No Answer is Posted For this Question
Be the First to Post Answer
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is difference between far and near pointers?
program for swapping two strings by using pointers in c language
second highest number in a given set of numbers
explain how do you use macro?
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
what are the files which are automatically opened when a c file is executed?
What is restrict keyword in c?
Is null always defined as 0(zero)?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
How can we open a file in Binary mode and Text mode?what is the difference?
Tell me with an example the self-referential structure?