C passes By value or By reference?
Answer Posted / rohit
it depends on us how to pass a value
because ,c can pass by both value and reference
by valu means actual val of variable ia passed
by reference address of the required value is passed
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Do you know the use of 'auto' keyword?
What is the purpose of void in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
hi send me sample aptitude papers of cts?
What is the difference between far and near in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is atoi and atof in c?
Why doesnt that code work?
how to capitalise first letter of each word in a given string?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What is the process to create increment and decrement stamen in c?
What is the difference between exit() and _exit() function in c?
What is define c?
What are the similarities between c and c++?