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
/*program to calculate hra,da in salary if salary less than 10000 then hra15%,da13% otherwise hra20%,da18%/*
In a switch statement, explain what will happen if a break statement is omitted?
What do you understand by friend-functions? How are they used?
Explain how do you override a defined macro?
What is sizeof int in c?
pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()
How can I remove the trailing spaces from a string?
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
write a c program to store and print name,address,roll.no of a student using structures?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Explain Basic concepts of C language?
yogesh patil in dell