what is const volatile?
Answers were Sorted based on User's Feedback
Answer / test
Voliatile means value can be changed at any point .when we
say cont volatile it says value cant be changed by the
programer but can be changed by the hardware ..
for example status register of any hardware ..
its volatile since value of this register can changed at any
time and its const too since its not changed by the programmer.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / n
read-only data which should not be optimized by compiler
because it might be modified by some ways unknown by
compiler.(ex: HW, or even by other thread if we have const
volatile int *p for example, where p is the address of some
variable which is not const).
| Is This Answer Correct ? | 0 Yes | 0 No |
while initialization of array why we use a[][2] why not a[2][]...?
What is a program flowchart and how does it help in writing a program?
what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
What is c value paradox explain?
What is a null string in c?
main() { enum{red,green,blue=6,white}; pf("%d%d%d%d", red,green,blue,white); return 0; } a)0 1 6 2 b)0 1 6 7 c)Compilation error d)None of the above
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
write a programme that inputs a number by user and gives its multiplication table.
Why do we use int main?
What is the difference between struct and typedef struct in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;