How to access or modify the const variable in c ?

Answer Posted / raj

Answer 6 would be true if you change the variable to const
volatile.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which control loop is recommended if you have to execute set of statements for fixed number of times?

802


How can you increase the size of a statically allocated array?

604


Give the rules for variable declaration?

664


What is the general form of a C program?

590


Why is %d used in c?

556






What is scanf () in c?

653


Why is c called a structured programming language?

663


Explain how can I avoid the abort, retry, fail messages?

581


What are the types of i/o functions?

666


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1578


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1649


Can we declare variable anywhere in c?

527


What is difference between static and global variable in c?

527


Explain the red-black trees?

598


How can I sort a linked list?

626