How to access or modify the const variable in c ?

Answer Posted / santhi

we can access the constant variable in c through the
functions which are declared as constant.

Is This Answer Correct ?    13 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should you not use a type cast?

655


Why double pointer is used in c?

563


Explain what is meant by 'bit masking'?

638


What is #define in c?

615


What is quick sort in c?

577






What is difference between structure and union in c programming?

565


How to write c functions that modify head pointer of a linked list?

539


Write a program to know whether the input number is an armstrong number.

663


Multiply an Integer Number by 2 Without Using Multiplication Operator

316


Explain about C function prototype?

601


What is meant by type specifiers?

657


Explain 'bus error'?

555


What is the difference between int main and void main in c?

589


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2508


Create a simple code fragment that will swap the values of two variables num1 and num2.

802