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

can anyone suggest some site name..where i can get some good data structure puzzles???

1647


What is difference between scanf and gets?

616


What are pointers really good for, anyway?

621


What is a loop?

558


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

985






What is equivalent to ++i+++j?

648


What is the difference between text files and binary files?

681


Can we declare variable anywhere in c?

539


Write a program to reverse a string.

644


What is sizeof return in c?

619


How do you define structure?

571


how is the examination pattern?

1599


How can you restore a redirected standard stream?

613


What is typedef example?

621


What is the benefit of using const for declaring constants?

592