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


Please Help Members By Posting Answers For Below Questions

How can I manipulate individual bits?

596


What is || operator and how does it function in a program?

620


what type of questions arrive in interview over c programming?

1544


a program that can input number of records and can view it again the record

1475


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

654






Why is a semicolon (;) put at the end of every program statement?

615


Where are some collections of useful code fragments and examples?

702


What type of function is main ()?

574


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1008


What is the purpose of sprintf?

607


What is meant by 'bit masking'?

876


What is void main ()?

604


Can we change the value of constant variable in c?

565


Explain how can you restore a redirected standard stream?

583


What is hash table in c?

560