Is an array parameter is always "by reference" ?
Answer / sri
yes, passing array to a function is always call by reference
method because array name itself act as a pointer to its
first position.
| Is This Answer Correct ? | 2 Yes | 1 No |
Are local variables initialized to zero by default in c?
#include <stdio.h> int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks
what is a constant pointer in C
What is the difference b/w Structure & Class?
What is the function of volatile in c language?
What does extern mean in a function declaration?
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,
2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);
What is logical error?
Why clrscr is used after variable declaration?
main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?