Is the below things valid & where it will be stored in
memory layout ?
static const volatile int i;
register struct { } ;
static register;
Answers were Sorted based on User's Feedback
Answer / sugu
no it is invalid . because volatile means ever changing, but
const means the value wont be changed.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / suyash(nit c.s. eng)
u may mix const to variable it is not correct
Is This Answer Correct ? | 0 Yes | 1 No |
In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?
consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none
write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.
How reliable are floating-point comparisons?
main() { int a[10]; printf("%d",*a+1-*a+3); }
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Write a factorial program using C.
#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }
What is the difference between array and pointer?
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
Why is c called c not d or e?