C passes By value or By reference?
Answer Posted / rasheed
yes C passes Both by value and reference.
but strictly speaking C passes only both by value
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are keywords c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Can you define which header file to include at compile time?
What's a good way to check for "close enough" floating-point equality?
Is the exit() function same as the return statement? Explain.
What are the key features in c programming language?
What is the use of #include in c?
Differentiate between functions getch() and getche().
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What does sizeof return c?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
Explain how do you generate random numbers in c?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Combinations of fibanocci prime series