What is meant by
int fun const(int a, int b) {
....
...
}
Answer Posted / srv
In function 'fun' we have made variable a & b constant.
It means we are never going to alter the values of varibles
(a&b).if tried then error will be messaged.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
what is the role you expect in software industry?
What is the purpose of type declarations?
Can a pointer be null?
Write the Program to reverse a string using pointers.
When was c language developed?
Explain enumerated types in c language?
Why string is used in c?
What is the right way to use errno?
Why we use void main in c?
What is null in c?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What is the difference between declaring a variable by constant keyword and #define ing that variable?
What is the explanation for the dangling pointer in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
How to explain the final year project as a fresher please answer with sample project